Skip to main content
Module

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

Kysely dialect for PostgreSQL using the Postgres.js client.
Go to Latest
method kysely.OnConflictBuilder.prototype.constraint
Re-export
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { OnConflictBuilder } = kysely;

Specify a specific constraint by name as the conflict target.

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

Parameters

constraintName: string