Function: encodeRowForSql()
Function: encodeRowForSql()
Section titled “Function: encodeRowForSql()”encodeRowForSql(
columnKinds,row):Record<string,unknown>
Defined in: core/src/schema/codec.ts:90
Convenience: encode every field of a row against a { name → kind } map.
Unknown fields pass through — the sync engine may write bookkeeping keys
(created_at etc.) that aren’t part of the user schema.
Parameters
Section titled “Parameters”columnKinds
Section titled “columnKinds”Readonly<Record<string, ColumnKind>>
Readonly<Record<string, unknown>>
Returns
Section titled “Returns”Record<string, unknown>