📌  相关文章
📜  如何确定猫鼬是否已连接 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:30.605000             🧑  作者: Mango

代码示例1
// test.js
require('./app.js'); // which executes 'mongoose.connect()'

var mongoose = require('mongoose');
console.log(mongoose.connection.readyState);