meteorhacks/meteor-collection-utils

Name: meteor-collection-utils

Owner: meteorhacks

Description: Expose some underline collection apis

Created: 2014-12-04 08:20:29.0

Updated: 2018-01-06 10:25:07.0

Pushed: 2017-02-16 00:44:20.0

Homepage: null

Size: 168

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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

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

To get the internal node collection object

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.