MoorIndex class Null safety

An sql index.

Indices can only be declared in moor files at the moment.

Inheritance
Available Extensions

Constructors

MoorIndex(String name, IndexDeclaration declaration, String createStmt, [MoorTable? table])
MoorIndex.fromMoor(CreateIndexStatement stmt, FoundFile file)
factory

Properties

createStmt String
The sql statement creating this index.
final
dbGetterName String
The getter in a generated database accessor referring to this model.
read-only, override
declaration IndexDeclaration
Gets the declaration of this element, if set.
final
displayName String
A human readable name of this entity, like the table name.
read-only, override
hashCode int
The hash code for this object.
read-only, inherited
name String
final
references Iterable<MoorSchemaEntity>
All entities that have to be created before this entity can be created.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
table MoorTable?
The table on which this index is created.
read / write

Methods

createSql(MoorOptions options) String
The CREATE INDEX statement creating this index.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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