Struct SqlSortTraitInfo
- Namespace
- LfrlAnvil.Sql.Expressions.Visitors
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents extracted information about sort traits.
public readonly record struct SqlSortTraitInfo : IEquatable<SqlSortTraitInfo>
- Implements
- Inherited Members
Constructors
SqlSortTraitInfo(Chain<ReadOnlyArray<SqlOrderByNode>>, SqlSortTraitPlaceholderNode?)
Represents extracted information about sort traits.
public SqlSortTraitInfo(Chain<ReadOnlyArray<SqlOrderByNode>> Nodes, SqlSortTraitPlaceholderNode? Placeholder)
Parameters
NodesChain<ReadOnlyArray<SqlOrderByNode>>Collection of ordering expressions that is the result of parsing of all SqlSortTraitNode instances.
PlaceholderSqlSortTraitPlaceholderNodeLast encountered placeholder node.
Properties
Nodes
Collection of ordering expressions that is the result of parsing of all SqlSortTraitNode instances.
public Chain<ReadOnlyArray<SqlOrderByNode>> Nodes { get; init; }
Property Value
Placeholder
Last encountered placeholder node.
public SqlSortTraitPlaceholderNode? Placeholder { get; init; }