Skip to content

TableRunner.update() method

Home > @direct-sqlite/core > TableRunner > update

Spawns a query builder to update properties inside matching row footprints.

Signature:

update(data: Partial<TRow>): MutationBuilder<TRow>;

Parameter

Type

Description

data

Partial<TRow>

An object containing the columns and their new values to be updated.

Returns:

MutationBuilder<TRow>

A MutationBuilder instance for building and executing the UPDATE query.