Skip to main content
Module

x/aloedb/mod.ts>Database#updateMany

Light, Embeddable, NoSQL database for Deno 🦕
Go to Latest
method Database.prototype.updateMany
import { Database } from "https://deno.land/x/aloedb@0.1.0/mod.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[]>

Original documents that has been modified.