meteorhacks:collection-utils
Exposes some internal Mongo Connection
apis into Mongo.Connection
.
Currently exposed methods:
Mongo.Collection.prototype._getDb
To get the internal node mongodb database
1var Apps = new Mongo.Collection('apps'); 2var db = Apps._getDb();
Mongo.Collection.prototype._getCollection
To get the internal node collection object
1var Apps = new Mongo.Collection('apps'); 2var nodeColl = Apps._getCollection();