BasicMigrator class abstract
- Implementers
Constructors
- BasicMigrator(TableProto tableProto, {String? schema})
Properties
-
fields
→ List<
TableColumn> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → String?
-
final
- schemaTable → String
-
latefinal
- tableName → String
-
no setter
- tableProto → TableProto
-
final
Methods
-
addColumn(
TableColumn field) → Future< void> -
autoIncChangeBase(
TableColumn field, int base) → Future< void> -
autoIncDefine(
String type) → String -
createIndex(
List< String> fields) → Future<void> -
createTable(
{List< String> ? constraints, List<String> ? options}) → Future<void> -
defineField(
TableColumn col) → String -
execute(
String sql, [AnyList? parameters]) → Future< QueryResult> -
indexFields(
String indexName) → Future< Set< String> > -
listIndex(
) → Future< Set< String> > -
migrate(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tableExists(
) → Future< bool> -
tableFields(
) → Future< Set< String> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited