Skip to content

Laboratory/Meteor-Mongo-Collections

Repository files navigation

Meteor-Mongo-Collections

Get the existing Mongo.Collection instance by name, or create it if doesn't exist.

For a more sophisticated approach, see dburles:mongo-collection-instances.

Installation

Install the package from Atmosphere:

meteor add laboratory:mongo-collection

Usage Example

collection = new Mongo.Collection 'users'
nextCollection = new Mongo.Collection 'users'

About

Mongo.Collections instances by Collection name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published