ReferenceAPI referenceInterfaces
SelectedSemiJoinSubqueryBuilder
Generated API reference for SelectedSemiJoinSubqueryBuilder in @kysoql/core.
@kysoql/core / SelectedSemiJoinSubqueryBuilder
Completed semi-join subquery with its selected reference field.
Extends
SemiJoinSubqueryExpression<DB,OuterTB,OuterReference>.SemiJoinWhereBuilder<DB,TB,SelectedSemiJoinSubqueryBuilder<DB,OuterTB,OuterReference,TB>>
Type Parameters
| Type Parameter |
|---|
DB |
OuterTB extends keyof DB |
OuterReference extends string |
TB extends keyof DB |
Methods
$call()
$call<T>(func): T;Passes this builder to func and returns the callback result.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
func | (qb) => T |
Returns
T
$if()
$if(condition, func): this;Conditionally applies a builder callback; when false, the runtime query is unchanged.
Parameters
| Parameter | Type |
|---|---|
condition | boolean |
func | (qb) => this |
Returns
this
clearWhere()
clearWhere(): this;Returns a builder with the WHERE predicate removed.
Returns
this
toOperationNode()
toOperationNode(): SemiJoinSubqueryNode;Returns the immutable operation node represented by this builder.
Returns
Inherited from
SemiJoinSubqueryExpression.toOperationNode
where()
Call Signature
where(expression): SelectedSemiJoinSubqueryBuilder;Parameters
| Parameter | Type |
|---|---|
expression | WhereExpressionFactory<DB, TB, false> |
Returns
SelectedSemiJoinSubqueryBuilder
Inherited from
SemiJoinWhereBuilder.whereCall Signature
where<RE, OP, RHS>(
lhs,
op,
rhs
): SelectedSemiJoinSubqueryBuilder;Type Parameters
| Type Parameter |
|---|
RE extends string |
OP extends | "=" | "!=" | OrderedComparisonOperator | "in" | "not in" | MultiSelectComparisonOperator | "like" |
RHS |
Parameters
| Parameter | Type |
|---|---|
lhs | RE & FilterableFieldName<DB, TB, RE> |
op | OP |
rhs | RHS |
Returns
SelectedSemiJoinSubqueryBuilder
Inherited from
SemiJoinWhereBuilder.whereProperties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
[semiJoinSubqueryExpressionType] | readonly | object | Type-only brand used by Kysoql to preserve compile-time information; it has no user-facing runtime meaning. | SemiJoinSubqueryExpression.[semiJoinSubqueryExpressionType] |
[semiJoinSubqueryExpressionType].db | readonly | DB | Schema type shared by the outer query and semi-join. | - |
[semiJoinSubqueryExpressionType].outerTable | readonly | OuterTB | Salesforce object queried by the outer query. | - |
[semiJoinSubqueryExpressionType].outerReference | readonly | OuterReference | Outer field compared with the semi-join selection. | - |