Document.prototype.populate() Parameters Returns: Example: NOTE: Document.prototype.populate() Parameters [path] «String|Object» The path to populate or an options obje...
Document.prototype.init() Parameters Document.prototype.init() Parameters doc «Object» document returned by mongo Initializes the document without setters or marking anyt...
Document.prototype.$parent() Document.prototype.$parent() Alias for parent() . If this document is a subdocument or populated document, returns the document’s parent. Returns ...
Document.prototype.$op Type: Example: Document.prototype.$op Type: «property» A string containing the current operation that Mongoose is executing on this document. May ...
Multi-get documents Example without specifying index in URL Example of specifying index in URL Path and HTTP methods URL parameters Request body Response Response body fields...
Multi-get documents Example without specifying index in URL Example of specifying index in URL Path and HTTP methods URL parameters Request body Response Response body fields...