optional
connectionIndex: number
A connection index determines which database to connect with.
optional
collectionOptions: CollectionOptions
Specify the collection options for native mongodb driver
connectionIndex: number
A connection index determines which database to connect with.
collectionOptions: CollectionOptions
Specify the collection options for native mongodb driver
Add Package
deno add jsr:@oridune/mongo
Import symbol
import { type ModelOptions } from "@oridune/mongo";
---- OR ----
Import directly with a jsr specifier
import { type ModelOptions } from "jsr:@oridune/mongo";
Add Package
npx jsr add @oridune/mongo
Import symbol
import { type ModelOptions } from "@oridune/mongo";
Add Package
yarn dlx jsr add @oridune/mongo
Import symbol
import { type ModelOptions } from "@oridune/mongo";
Add Package
pnpm dlx jsr add @oridune/mongo
Import symbol
import { type ModelOptions } from "@oridune/mongo";
Add Package
bunx jsr add @oridune/mongo
Import symbol
import { type ModelOptions } from "@oridune/mongo";