Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mongoose/types/index.d.ts>mongoose.Mongoose

MongoDB object modeling designed to work in an asynchronous environment.
Go to Latest
type alias mongoose.Mongoose
import { type mongoose } from "https://deno.land/x/mongoose@8.6.3/types/index.d.ts";
const { Mongoose } = mongoose;
definition: mongoose
variable mongoose.Mongoose
import { mongoose } from "https://deno.land/x/mongoose@8.6.3/types/index.d.ts";
const { Mongoose } = mongoose;

Mongoose constructor. The exports object of the mongoose module is an instance of this class. Most apps will only use this one instance.

type

new (options?: MongooseOptions | null) => Mongoose