Blueprint class abstract

Implementers

Constructors

Blueprint(String name, bool modify)

Properties

charset String?
getter/setter pair
collation String?
getter/setter pair
columnsToDrop List<String>
getter/setter pair
columnsToRename List<List<String>>
getter/setter pair
comment String?
getter/setter pair
compoundKeys List<String>
getter/setter pair
engine String?
getter/setter pair
fields List<FieldBlueprint>
getter/setter pair
foreignKeysToDrop List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
indicesToCreate List<Index>
getter/setter pair
indicesToDrop List<String>
getter/setter pair
modify bool
getter/setter pair
name String
getter/setter pair
primaryKeys List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bigIncrements(String field) FieldBlueprint
boolean(String field) FieldBlueprint
char(String field, [int length = 50]) FieldBlueprint
date(String field) FieldBlueprint
dateTime(String field) FieldBlueprint
dropColumn(String field) → void
dropIndex(String name) → void
foreign(String field) ForeignKeyConstraint
increments(String field) FieldBlueprint
index(dynamic field, [String? name, String? algorithm]) → void
integer(String field, {bool autoIncrement = false, bool unsigned = false}) FieldBlueprint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
primary(List<String> fields) → void
renameColumn(String from, String to) → void
string(String field, [int length = 100]) FieldBlueprint
text(String field) FieldBlueprint
time(String field) FieldBlueprint
timestamp(String field) FieldBlueprint
toString() String
A string representation of this object.
inherited
uuid([String field = 'uuid']) FieldBlueprint

Operators

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