Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aether/deps.ts>Collection#insertMany

A Deno library to interface with the Discord API
Latest
method Collection.prototype.insertMany
import { Collection } from "https://deno.land/x/aether@v0.0.3/deps.ts";

Parameters

docs: InsertDocument<T>[]
optional
options: InsertOptions

Returns

Promise<{ insertedIds: (ObjectId | Required<InsertDocument<T>>["_id"])[]; insertedCount: number; }>