Interacting with raw database

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?

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

1 Like