Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/collections/mod.ts>KeyworkDocumentReference#patchValue

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
method KeyworkDocumentReference.prototype.patchValue
Re-export
import { KeyworkDocumentReference } from "https://deno.land/x/keywork@v6.2.1/collections/mod.ts";

Updates the data associated with this document's path.

Type Parameters

optional
E = ExpectedType

Parameters

nextValue: Partial<E>

If this document refers to an existing JSON-like object, it will be patched rather than replaced.

optional
options: PutOrPatchOptions

An optional JSON-like snapshot to merged

optional
snapshot: KeyworkDocumentSnapshot<E>

Options passed to deepMerge

optional
deepMergeOptions: any