Type Alias: InsertRequest
type InsertRequest = object;Defined in: packages/sdk/src/index.ts:368
SK-SCHEMA-012 — deterministic structured insert (GLOBAL-041). Keys map
to lower_snake_case columns (serverId → server_id); a table or field the
DB hasn’t seen is created in the same transaction. No model call.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
db |
string |
- | packages/sdk/src/index.ts:369 |
key? |
string | string[] |
Upsert on these fields: a row whose key exists updates the fields it names, so a re-run import never duplicates. Its first use adds a unique index on them. Every row must carry every key field. | packages/sdk/src/index.ts:375 |
rows |
Record<string, unknown>[] |
- | packages/sdk/src/index.ts:371 |
table |
string |
- | packages/sdk/src/index.ts:370 |