interface CrudTable
extends Table<Row, Input>

A table built by defineTable: the transactional statement builders and the primary-pinned read are always present. They stay optional on Table only for hand-written façade tables that never take the transactional path.

Type Parameters

Row
Input

Properties

findByIdPrimary: NonNullable<Table<Row, Input>["findByIdPrimary"]>
insertStatement: NonNullable<Table<Row, Input>["insertStatement"]>
updateStatement: NonNullable<Table<Row, Input>["updateStatement"]>

Usage

import { type CrudTable } from "doc.ts";