Skip to content

toRow(entity, projection): Record<string, unknown>

Defined in: src/query/selection.ts:384

Lays an entity out as a row of projection — checking it against the schema, when there is one.

Entity

Projection

Record<string, unknown>

If a named schema’s entity is not tagged with its name, or the entity lacks a selected required column or holds one with a type other than the schema’s — it was not written through this schema, or was patched since.