CreateIndexStmt class

Inheritance

Constructors

CreateIndexStmt(String indexName, String table, String column, {bool unique = false, String? whereSql, String? exprSql, List<String>? columns, List<String>? collations})

Properties

collations List<String>
Per-column collation names ('BINARY' default; 'NOCASE' supported).
final
column String
Single source column (when exprSql is null).
final
columns List<String>
Full ordered list of indexed columns. For single-column indexes this is [column]; multi-column index DDL fills in every key column so it can be preserved through file-format round-trips.
final
exprSql String?
Optional indexed-expression source. When non-null, this index is an expression index and column holds a synthetic key (the SQL text).
final
hashCode int
The hash code for this object.
no setterinherited
indexName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String
final
unique bool
final
whereSql String?
Optional WHERE predicate source for partial indexes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited