How to get MongoClient object from Mongoose in Node?

前端 未结 0 1694
情书的邮戳
情书的邮戳 2020-11-22 17:11

In NodeJs, to get the MongoClient instance one can do sth like this:

const MongoClient = require(\'mongodb\').MongoClient;

const client = await MongoClient.c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题