您的位置: 首页 > IT文章 > 报错mongoose.connection.db.collectionnames is not a function 报错mongoose.connection.db.collectionnames is not a function 分类: IT文章 • 2023-11-14 07:56:49 mongoose.connection.db.collectionNames方法已经无效 建议使用mongoose.connection.db.listCollections()