Skip to content

IDatabase.Modify method

Applies JSON Patch changes to all records, or a specific record, in the database.

public Task<DriverResponse> Modify(Thing thing, Patch[] data, CancellationToken ct = default)
parameter description
thing The table name or the specific record id to update.
data The JSON Patch data with which to modify the records.

Remarks

This function patches the current document / record data with the specified JSON Patch data. This function will run the following query in the database:

UPDATE $thing PATCH $data;

See Also