Interacting with raw database


#1

Wondering two things:

  1. How do you get the raw MongoClient? On the server I noticed MongoInternals.NpmModule.MongoClient, but that doesn’t seem to work.

  2. How can you access the raw database object, similar to opening meteor mongo?


#2

Is this what you’re looking for?
MongoInternals.defaultRemoteCollectionDriver().mongo.db