How do I access mongos db.system.js in meteor?
1 answer
You should be able to access it via the node mongo driver directly like in this question . So for the collection system.js
, I think you are using:
// on server
var db = MongoInternals.defaultRemoteCollectionDriver.mongo.db;
var systemJS = db.collection('system.js');
This question shows some non-tagout code examples for the node driver.
+1
source to share