class kysely.JoinBuilder
implements OperationNodeSource
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { JoinBuilder } = kysely;
Constructors
new
JoinBuilder(props: JoinBuilderProps)Type Parameters
TB extends keyof DB
Methods
$call<T>(func: (qb: this) => T): T
Simply calls the provided function passing this
as the only argument. $call
returns
what the provided function returns.
on<RE extends ReferenceExpression<DB, TB>>(): JoinBuilder<DB, TB>
Just like WhereInterface.where but adds an item to the join's
on
clause instead.
See WhereInterface.where for documentation and examples.
on(expression: ExpressionOrFactory<DB, TB, SqlBool>): JoinBuilder<DB, TB>
onRef(): JoinBuilder<DB, TB>
Just like WhereInterface.whereRef but adds an item to the join's
on
clause instead.
See WhereInterface.whereRef for documentation and examples.