Table of Contents

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

Nodes Chain<ReadOnlyArray<SqlOrderByNode>>

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

Placeholder SqlSortTraitPlaceholderNode

Last 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

Chain<ReadOnlyArray<SqlOrderByNode>>

Placeholder

Last encountered placeholder node.

public SqlSortTraitPlaceholderNode? Placeholder { get; init; }

Property Value

SqlSortTraitPlaceholderNode