(criteria, options)
| 294 | const coll = this.mongooseCollection; |
| 295 | |
| 296 | const CustomQuery = function(criteria, options) { |
| 297 | if (!(this instanceof CustomQuery)) { |
| 298 | return new CustomQuery(criteria, options); |
| 299 | } |
| 300 | this._mongooseOptions = cloneMongooseOptions(p._mongooseOptions); |
| 301 | Query.call(this, criteria, options || null, model, coll); |
| 302 | }; |
| 303 | |
| 304 | util.inherits(CustomQuery, model.Query); |
| 305 |
nothing calls this directly
no outgoing calls
no test coverage detected