Class SqlCreateIndexNode
- Namespace
- LfrlAnvil.Sql.Expressions
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents an SQL syntax tree statement node that defines creation of a single index.
public sealed class SqlCreateIndexNode : SqlNodeBase, ISqlStatementNode
- Inheritance
-
SqlCreateIndexNode
- Implements
- Inherited Members
- Extension Methods
Properties
Columns
Collection of expressions that define this index.
public ReadOnlyArray<SqlOrderByNode> Columns { get; }
Property Value
Filter
Optional filter condition.
public SqlConditionNode? Filter { get; }
Property Value
IsUnique
Specifies whether or not this index is unique.
public bool IsUnique { get; }
Property Value
Name
Index's name.
public SqlSchemaObjectName Name { get; }
Property Value
ReplaceIfExists
Specifies whether or not the index should be replaced if it already exists in DB.
public bool ReplaceIfExists { get; }
Property Value
Table
Table on which this index is created.
public SqlRecordSetNode Table { get; }