ReferenceAPI referenceInterfaces
DateFunctionBuilder
Generated API reference for DateFunctionBuilder in @kysoql/core.
@kysoql/core / DateFunctionBuilder
Builder for Salesforce date functions such as CALENDAR_YEAR() and DAY_ONLY().
Extends
DateFunctionExpression<Output,ComparisonValue,Operator,Identity>
Type Parameters
| Type Parameter |
|---|
Output |
ComparisonValue |
Operator extends ComparisonOperator |
Identity extends string |
Methods
as()
as<Alias>(alias): AliasedDateFunctionBuilder<Output, Alias, Identity>;Aliases this expression for SELECT output and result mapping.
Type Parameters
| Type Parameter |
|---|
Alias extends string |
Parameters
| Parameter | Type |
|---|---|
alias | Alias |
Returns
AliasedDateFunctionBuilder<Output, Alias, Identity>
toOperationNode()
toOperationNode(): DateFunctionNode;Returns the immutable operation node represented by this expression.
Returns
Inherited from
DateFunctionExpression.toOperationNode
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
expressionType | readonly | Output | undefined | Type-only output marker used for fluent-query inference; implementations do not expose a meaningful runtime value. | DateFunctionExpression.expressionType |
comparisonValueType? | readonly | ComparisonValue | Type-only marker for values accepted when comparing this expression. | DateFunctionExpression.comparisonValueType |
comparisonOperatorType? | readonly | Operator | Type-only marker for comparison operators supported by this expression. | DateFunctionExpression.comparisonOperatorType |
[dateFunctionIdentityType] | readonly | Identity | Type-only marker used to preserve this expression capability through TypeScript inference. | DateFunctionExpression.[dateFunctionIdentityType] |