import { kysely } from "https://dotland.deno.dev/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 {@link 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>