connect. 因为connect()方法并不能监听数据库连接情况,所以需要connection;. connection是mongoose模块的默认引用,返回一个Connetion对象.
確定! 回上一頁