Skip to content
pyautark (soon)

@urban-toolkit/autk-db


@urban-toolkit/autk-db / UpdateStrategy

Type Alias: UpdateStrategy

UpdateStrategy = "replace" | "update"

Defined in: use-cases/update-table/interfaces.ts:13

Strategy for replacing or updating an existing table.

  • 'replace' drops and recreates the entire table with new data.
  • 'update' modifies existing records by ID without inserting new ones.

Example

ts
const strategy: UpdateStrategy = 'update';

Released under the MIT License.