Kysoql
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

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

ParameterType
aliasAlias

Returns

AliasedDateFunctionBuilder<Output, Alias, Identity>


toOperationNode()

toOperationNode(): DateFunctionNode;

Returns the immutable operation node represented by this expression.

Returns

DateFunctionNode

Inherited from

DateFunctionExpression.toOperationNode

Properties

PropertyModifierTypeDescriptionInherited from
expressionTypereadonlyOutput | undefinedType-only output marker used for fluent-query inference; implementations do not expose a meaningful runtime value.DateFunctionExpression.expressionType
comparisonValueType?readonlyComparisonValueType-only marker for values accepted when comparing this expression.DateFunctionExpression.comparisonValueType
comparisonOperatorType?readonlyOperatorType-only marker for comparison operators supported by this expression.DateFunctionExpression.comparisonOperatorType
[dateFunctionIdentityType]readonlyIdentityType-only marker used to preserve this expression capability through TypeScript inference.DateFunctionExpression.[dateFunctionIdentityType]

On this page