Wondering two things:
-
How do you get the raw
MongoClient
? On the server I noticedMongoInternals.NpmModule.MongoClient
, but that doesn’t seem to work. -
How can you access the raw database object, similar to opening
meteor mongo
?
Wondering two things:
How do you get the raw MongoClient
? On the server I noticed MongoInternals.NpmModule.MongoClient
, but that doesn’t seem to work.
How can you access the raw database object, similar to opening meteor mongo
?
Is this what you’re looking for?
MongoInternals.defaultRemoteCollectionDriver().mongo.db