class kysely.JoinBuilder
implements OperationNodeSource
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.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 {@link WhereInterface.where} but adds an item to the join's
on
clause instead.
See {@link WhereInterface.where} for documentation and examples.
on(expression: ExpressionOrFactory<DB, TB, SqlBool>): JoinBuilder<DB, TB>
onRef(): JoinBuilder<DB, TB>
Just like {@link WhereInterface.whereRef} but adds an item to the join's
on
clause instead.
See {@link WhereInterface.whereRef} for documentation and examples.