Connection.prototype.host Type: Example Connection.prototype.host Type: «property» The host name portion of the URI. If multiple hosts, such as a replica set, this will ...
Document.prototype.$op Type: Example: Document.prototype.$op Type: «property» A string containing the current operation that Mongoose is executing on this document. May ...
SchemaType.cast() Parameters Returns: Example: SchemaType.cast() Parameters caster «Function|false» Function that casts arbitrary values to this type, or throws an error...
Document.prototype.$isEmpty() Returns: Example: Document.prototype.$isEmpty() Returns: «Boolean» Returns true if the given path is nullish or only contains empty objects...
SchemaType.set() Parameters Returns: Example: SchemaType.set() Parameters option «String» The name of the option you’d like to set (e.g. trim, lowercase, etc…) value «...