Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.ColumnDefinitionBuilder#onUpdate

Kysely dialect for PostgreSQL using the Postgres.js client.
method kysely.ColumnDefinitionBuilder.prototype.onUpdate
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { ColumnDefinitionBuilder } = kysely;

Adds an on update constraint for the foreign key column.

Examples

col.references('person.id').onUpdate('cascade')