Schema class

Constructors

Schema.new()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(String name, void define(TableSchema table)) Future<void>
Create a new table with columns defined in define closure.
createSql(String tableName, void define(TableSchema table)) String
drop(String table) Future<int>
dropIfExists(String table) Future<int>
rename(String from, String to) Future<int>
renameSql(String from, String to) String
update(String name, void define(TableSchema table)) Future<void>
updateSql(String tableName, void define(TableSchema table)) String