import { mongoose } from "https://deno.land/x/mongoose@8.6.3/types/index.d.ts";
Variables
An array containing all models associated with this Mongoose instance. | |
Mongoose constructor. The exports object of the | |
The Mongoose version |
Functions
Removes the model named | |
Gets mongoose options | |
Returns an array of model names created on this instance of Mongoose. | |
Declares a global plugin executed on all Schemas. | |
Getter/setter around function for pluralizing collection names. | |
Sanitizes query filters against query selector injection attacks by wrapping
any nested objects that have a property whose name starts with | |
Sets mongoose options | |
Overwrites the current driver used by this Mongoose instance. A driver is a
Mongoose-specific interface that defines functions like | |
Interfaces
Can be extended to explicitly type specific models. | |
Type Aliases
Helper to choose the best option between two type helpers | |
Helper type for getting the hydrated document type from the raw document type. The hydrated document type is what | |
Update query command to perform on the document | |
A more strict form of UpdateQuery that enforces updating only known top-level properties. | |