BasicPostgresMigrator class

Inheritance

Constructors

BasicPostgresMigrator(SessionExecutor executor, TableProto tableProto, {String? schema})

Properties

executor SessionExecutor
final
fields List<TableColumn>
no setterinherited
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?
finalinherited
schemaOrPublic String
no setter
schemaTable String
latefinalinherited
tableLower String
latefinal
tableName String
no setterinherited
tableProto TableProto
finalinherited

Methods

addColumn(TableColumn field) Future<void>
inherited
autoIncChangeBase(TableColumn field, int base) Future<void>
override
autoIncDefine(String type) String
override
createIndex(List<String> fields) Future<void>
inherited
createTable({List<String>? constraints, List<String>? options}) Future<void>
inherited
defineField(TableColumn col) String
inherited
execute(String sql, [AnyList? parameters]) Future<QueryResult>
override
indexFields(String indexName) Future<Set<String>>
override
listIndex() Future<Set<String>>
override
migrate() Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tableExists() Future<bool>
override
tableFields() Future<Set<String>>
override
toString() String
A string representation of this object.
inherited

Operators

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