PostgresSchema class
A PostgreSQL database schema generator
Constructors
- PostgresSchema()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
alter(
String tableName, void callback(MutableTable table)) → void -
compile(
) → String -
create(
String tableName, void callback(Table table)) → void -
createIfNotExists(
String tableName, void callback(Table table)) → void -
drop(
String tableName, {bool cascade = false}) → void -
dropAll(
Iterable< String> tableNames, {bool cascade = false}) → void -
inherited
-
indexes(
String tableName, void callback(MutableIndexes table)) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
Connection connection) → Future< int> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited