Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.OnConflictBuilder#constraint

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.OnConflictBuilder.prototype.constraint
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { OnConflictBuilder } = kysely;

Specify a specific constraint by name as the conflict target.

Also see the {@link column}, {@link columns} and {@link expression} methods for alternative ways to specify the conflict target.

Parameters

constraintName: string