import { mongoose } from "https://deno.land/x/mongoose@8.7.0/types/index.d.ts";
const { Schema } = mongoose;
Adds key path / schema type pairs to this schema.
Parameters
obj: SchemaDefinition<SchemaDefinitionType<RawDocType>> | Schema
import { mongoose } from "https://deno.land/x/mongoose@8.7.0/types/index.d.ts";
const { Schema } = mongoose;
Adds key path / schema type pairs to this schema.