Module

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

Kysely dialect for PostgreSQL using the Postgres.js client.
method kysely.OnConflictBuilder.prototype.constraint
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.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