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

x/aloedb/lib/database.ts>Database#insertMany

Light, Embeddable, NoSQL database for Deno 🦕
Latest
method Database.prototype.insertMany
import { Database } from "https://deno.land/x/aloedb@0.9.0/lib/database.ts";

Inserts multiple documents.

Parameters

documents: Schema[]

Array of documents to insert.

Returns

Promise<Schema[]>

Array of inserted documents.