Struct SqlAggregateFunctionTraits
- Namespace
- LfrlAnvil.Sql.Expressions.Visitors
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents a collection of traits attached to an SqlAggregateFunctionExpressionNode.
public readonly record struct SqlAggregateFunctionTraits : IEquatable<SqlAggregateFunctionTraits>
- Implements
- Inherited Members
Constructors
SqlAggregateFunctionTraits(SqlDistinctTraitNode?, SqlConditionNode?, SqlWindowDefinitionNode?, Chain<ReadOnlyArray<SqlOrderByNode>>, Chain<SqlTraitNode>)
Represents a collection of traits attached to an SqlAggregateFunctionExpressionNode.
public SqlAggregateFunctionTraits(SqlDistinctTraitNode? Distinct, SqlConditionNode? Filter, SqlWindowDefinitionNode? Window, Chain<ReadOnlyArray<SqlOrderByNode>> Ordering, Chain<SqlTraitNode> Custom)
Parameters
Distinct
SqlDistinctTraitNodeSqlDistinctTraitNode instance.
Filter
SqlConditionNodePredicate that is the result of parsing of all SqlFilterTraitNode instances.
Window
SqlWindowDefinitionNodeSqlWindowDefinitionNode instance.
Ordering
Chain<ReadOnlyArray<SqlOrderByNode>>Collection of ordering expressions that is the result of parsing of all SqlSortTraitNode instances.
Custom
Chain<SqlTraitNode>Collection of all unrecognized SqlTraitNode instances.
Properties
Custom
Collection of all unrecognized SqlTraitNode instances.
public Chain<SqlTraitNode> Custom { get; init; }
Property Value
Distinct
SqlDistinctTraitNode instance.
public SqlDistinctTraitNode? Distinct { get; init; }
Property Value
Filter
Predicate that is the result of parsing of all SqlFilterTraitNode instances.
public SqlConditionNode? Filter { get; init; }
Property Value
Ordering
Collection of ordering expressions that is the result of parsing of all SqlSortTraitNode instances.
public Chain<ReadOnlyArray<SqlOrderByNode>> Ordering { get; init; }
Property Value
Window
SqlWindowDefinitionNode instance.
public SqlWindowDefinitionNode? Window { get; init; }