Schema class

Constructors

Schema()

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 tableName, dynamic buildFunction(Blueprint)) String
Creates a table schema.
drop(String table) String
Drop table.
dropIfExists(String table) String
Drop table if exists.
rename(String from, String to) String
Rename a table.
table(String tableName, dynamic buildFunction(Blueprint)) String
Use to update an existing table's schema.