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,
rhs: OperandValueExpressionOrList<DB, TB, RE>,
): JoinBuilder<DB, TB>;onTrue(): JoinBuilder<DB, TB>;
toOperationNode(): JoinNode;
§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]§
onRef(lhs: ReferenceExpression<DB, TB>, op: ComparisonOperatorExpression, rhs: ReferenceExpression<DB, TB>): 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
.