Alter class
Alter table statement
- Implemented types
Properties
-
adds
→ Map<
String, AddColumn> -
final
-
drops
→ Map<
String, DropColumn> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mods
→ Map<
String, ModifyColumn> -
final
-
others
→ List<
AlterClause> -
final
-
primaryKeys
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldDropPrimary ↔ bool
-
getter/setter pair
- table → String
-
Table to alter
final
Methods
-
add(
AlterClause cl) → Alter -
addAll(
Iterable< AlterClause> clauses) → Alter -
addBool(
String name, {bool isNullable = false, String? uniqueGroup}) → Alter -
addDatetime(
String name, {bool isNullable = false, String? uniqueGroup}) → Alter -
addDouble(
String name, {bool isNullable = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → Alter -
addInt(
String name, {bool isNullable = false, bool autoIncrement = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → Alter -
addPrimaryKey(
Iterable< String> pkeys) → Alter -
addString(
String name, {bool isNullable = false, int length = 20, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → Alter -
drop(
String name) → Alter -
dropPrimaryKey(
) → Alter -
modifyBool(
String name, {bool isNullable = false, String? uniqueGroup}) → Alter -
modifyDatetime(
String name, {bool isNullable = false, String? uniqueGroup}) → Alter -
modifyDouble(
String name, {bool isNullable = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → Alter -
modifyInt(
String name, {bool isNullable = false, bool autoIncrement = false, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → Alter -
modifyString(
String name, {bool isNullable = false, int length = 20, bool primary = false, String? foreignTable, String? foreignCol, String? uniqueGroup}) → Alter -
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