Module

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

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

Specify an expression as the conflict target.

This can be used if the unique index is an expression index.

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

Parameters

expression: Expression<any>