Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method kysely.WheneableMergeQueryBuilder.prototype.whenNotMatchedBySourceAndRef
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { WheneableMergeQueryBuilder } = kysely;

Adds the when not matched by source clause to the query with an and condition.

Similar to whenNotMatchedAndRef, but you can reference columns from the target table, and not from source table and returns a MatchedThenableMergeQueryBuilder.

Type Parameters

LRE extends ReferenceExpression<DB, TT>
RRE extends ReferenceExpression<DB, TT>