Skip to content

EngineReplaceManyOptions

Defined in: engine.ts:117

Options for Engine.replaceMany.

keyColumns: string[]

Defined in: engine.ts:132

The database column names that uniquely identify each row (derived from IDENTIFIER fields). Used to build the WHERE IN clause and CASE expressions for the bulk UPDATE.


rows: Record<string, unknown>[]

Defined in: engine.ts:125

The full replacement rows as key-value pairs. Each row must include the key columns so the engine can match them to existing rows.


table: string

Defined in: engine.ts:119

The table or collection name.