property Table.insertStatement

Build the INSERT statement without executing it (for transactional callers). Optional: only resources with a CRUD side effect need it; façade tables omit it.

Type

(
input: Input,
condition?: SqlStatement,
) => Promise<SqlStatement>

Usage

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