Skip to main content
Module

x/casualdb/operator/collection.ts>CollectionOperator#findAllAndUpdate

Simple JSON "database" for Deno with type-safety! ⚡️
Latest
method CollectionOperator.prototype.findAllAndUpdate
import { CollectionOperator } from "https://deno.land/x/casualdb@v0.1.4/operator/collection.ts";

Type Parameters

optional
T = Op

Parameters

predicate: Predicate<Partial<T>>
updateMethod: (value: Op) => Op

Returns

CollectionOperator<Op>