dist/bundles/index.umd.js
function Collection(nameOrExisting, options) {
            if (nameOrExisting instanceof Mongo.Collection) {
                this._collection = nameOrExisting;
            }
            else {
                this._collection = new Mongo.Collection(nameOrExisting, options);
            }
        }
function Collection(nameOrExisting, options) {
            if (nameOrExisting instanceof Mongo.Collection) {
                this._collection = nameOrExisting;
            }
            else {
                this._collection = new Mongo.Collection(nameOrExisting, options);
            }
        }
function Collection ( nameOrExisting , options ) { if ( nameOrExisting instanceof Mongo . Collection ) { this . _collection = nameOrExisting ; } else { this . _collection = new Mongo . Collection ( nameOrExisting , options ) ; } }
Creates a new Mongo.Collection instance wrapped with Observable features.
@param {String | Mongo.Collection} nameOrExisting - The name of the collection. If null, creates an
unmanaged (unsynchronized) local collection. If provided an instance of existing collection, will
create a wrapper for the existing Mongo.Collection.
@param {ConstructorOptions} options - Creation options.
@constructor
Creates a new Mongo . Collection instance wrapped with Observable features .