MCPcopy Create free account
hub / github.com/Automattic/mongoose / CustomQuery

Function CustomQuery

lib/query.js:170–176  ·  view source on GitHub ↗
(criteria, options)

Source from the content-addressed store, hash-verified

168 var coll = this.mongooseCollection;
169
170 var CustomQuery = function(criteria, options) {
171 if (!(this instanceof CustomQuery)) {
172 return new CustomQuery(criteria, options);
173 }
174 this._mongooseOptions = utils.clone(p._mongooseOptions);
175 Query.call(this, criteria, options || null, model, coll);
176 };
177
178 util.inherits(CustomQuery, Query);
179

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected