property Table.rowToInput

Build an Input object from an existing Row by copying the input-eligible columns and translating keys through inputKeyMap. Lets callers spread a row into a new insert without restating every field. Columns named in exclude are skipped — useful for auto-stamped fields like created.

Type

(
row: Row,
exclude?: readonly string[]
) => Partial<Input>

Usage

import { type Table } from "docs/database.ts";