Deprecated
Use insertOne, insertMany
or bulkWrite
instead.
import { Collection } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
Parameters
docs: InsertDocument<T> | InsertDocument<T>[]
optional
options: InsertOptionsUse insertOne, insertMany
or bulkWrite
instead.
import { Collection } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";