Metakit / @doeixd/metakit/sql
target
function · packages/metakit/src/sql.ts:96
function target(
dialect: SqlDialect,
options?: {
readonly lowerings?: ForeignLowerings
} & ClaimOptions,
): ReadinessTargetA SQL target for Language.readiness and Tooling.explain that also asks
of a transition what toUpdate asks, through its own lowering, with every
path read as a column of its Schema so the answer holds of every input:
a transition whose UPDATE toUpdate refuses is reported at the path
update with toUpdate's reason. lowerings, rewritePolicy and
implementations are what toUpdate would be given.