Skip to main content
Module

x/aloedb/mod.ts>Database#deleteMany

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

Delete many documents.

Parameters

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

Document selection criteria.

Returns

Promise<Schema[]>

Array of deleted documents.