TableRunner.update() method
Home > @direct-sqlite/core > TableRunner > update
TableRunner.update() method
Section titled “TableRunner.update() method”Spawns a query builder to update properties inside matching row footprints.
Signature:
update(data: Partial<TRow>): MutationBuilder<TRow>;Parameters
Section titled “Parameters”|
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.