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

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

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

Deletes all documents that matches the search query.

Parameters

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

Document selection criteria.

Returns

Promise<Schema[]>

Array of deleted documents.