Module

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

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