using collection?
If collection is created using db:
const col = db.collection('myCollection')Can I do something like:
const db = col.getDb()?I am using MeteorJS which wraps native mongodb, and I could not find a way to get raw db.
Thanks
https://docs.meteor.com/api/collections.html#Mongo-Collection-rawDatabase
Обсуждают сегодня