Table of Contents

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 SqlDistinctTraitNode

SqlDistinctTraitNode instance.

Filter SqlConditionNode

Predicate that is the result of parsing of all SqlFilterTraitNode instances.

Window SqlWindowDefinitionNode

SqlWindowDefinitionNode 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

Chain<SqlTraitNode>

Distinct

public SqlDistinctTraitNode? Distinct { get; init; }

Property Value

SqlDistinctTraitNode

Filter

Predicate that is the result of parsing of all SqlFilterTraitNode instances.

public SqlConditionNode? Filter { get; init; }

Property Value

SqlConditionNode

Ordering

Collection of ordering expressions that is the result of parsing of all SqlSortTraitNode instances.

public Chain<ReadOnlyArray<SqlOrderByNode>> Ordering { get; init; }

Property Value

Chain<ReadOnlyArray<SqlOrderByNode>>

Window

public SqlWindowDefinitionNode? Window { get; init; }

Property Value

SqlWindowDefinitionNode