Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

JoinBuilder

class JoinBuilder<DB, TB extends keyof DB> implements OperationNodeSource {
constructor(props: JoinBuilderProps);
$call<T>(func: (qb: this) => T): T;
on<RE extends ReferenceExpression<DB, TB>>(
lhs: RE,
): JoinBuilder<DB, TB>;
on(expression: ExpressionOrFactory<DB, TB, SqlBool>): JoinBuilder<DB, TB>;
onTrue(): JoinBuilder<DB, TB>;
toOperationNode(): JoinNode;
}

§Type Parameters

§
TB extends keyof DB
[src]

§Implements

§Constructors

§
new JoinBuilder(props: JoinBuilderProps)
[src]

§Methods

§
$call<T>(func: (qb: this) => T): T
[src]

Simply calls the provided function passing this as the only argument. $call returns what the provided function returns.

§
on<RE extends ReferenceExpression<DB, TB>>(lhs: RE, op: ComparisonOperatorExpression, rhs: OperandValueExpressionOrList<DB, TB, RE>): JoinBuilder<DB, TB>
[src]

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>
[src]
§

Just like WhereInterface.whereRef but adds an item to the join's on clause instead.

See WhereInterface.whereRef for documentation and examples.

§
onTrue(): JoinBuilder<DB, TB>
[src]

Adds on true.

§
toOperationNode(): JoinNode
[src]