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

x/aloedb/lib/database.ts>default#deleteMany

Light, Embeddable, NoSQL database for Deno 🦕
Go to Latest
method default.prototype.deleteMany
import { default } from "https://deno.land/x/aloedb@0.1.0/lib/database.ts";

Delete many documents.

Parameters

optional
query: Query<Schema> | QueryFunction<Schema>

Document selection criteria.

Returns

Promise<Schema[]>

Array of deleted documents.