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

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

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

Modifies all documents that match search query.

Parameters

query: Query<Schema> | QueryFunction<Schema>

Documents selection criteria.

update: Update<Schema> | UpdateFunction<Schema>

The modifications to apply.

Returns

Promise<Schema[]>

Found documents with applied modifications.