import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.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>
Returns
MatchedThenableMergeQueryBuilder<DB, TT, ST, TT, O>