Skip to content

meteorhacks/meteor-collection-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

var Apps = new Mongo.Collection('apps');
var db = Apps._getDb();

Mongo.Collection.prototype._getCollection

To get the internal node collection object

var Apps = new Mongo.Collection('apps');
var nodeColl = Apps._getCollection();

About

Expose some underline collection apis

Resources

License

Stars

Watchers

Forks

Packages

No packages published