CreateIndex class

Operation to create an index.

Inheritance

Constructors

CreateIndex({required IndexInfo index, bool ifNotExists = false})
Operation to create an index.
const
CreateIndex.fromMap(Map<String, dynamic> map)
Creates a CreateIndex from a map representation.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ifNotExists bool
When true, an already existing index with this name is left alone instead of failing the create.
final
index IndexInfo
The index to create.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

describe() String
Returns a human-readable description of the operation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts this operation to a map representation for serialization.
override
toString() String
A string representation of this object.
inherited

Operators

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