FieldBlueprint class abstract

Implementers

Constructors

FieldBlueprint(String table, String name, String type, {String? constraint, bool isAutoIncrement = false, bool isNullable = false, bool isUnique = false, dynamic defaultValue, bool isPrimaryKey = false, String? fieldComment})

Properties

constraint String?
getter/setter pair
defaultValue ↔ dynamic
getter/setter pair
fieldComment String?
getter/setter pair
foreignKey ForeignKeyConstraint?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
indexName String?
getter/setter pair
isAutoIncrement bool
getter/setter pair
isIndex bool
getter/setter pair
isNullable bool
getter/setter pair
isPrimaryKey bool
getter/setter pair
isUnique bool
getter/setter pair
isUnsigned bool
getter/setter pair
modify bool
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String
getter/setter pair
type String
getter/setter pair

Methods

autoIncrement() FieldBlueprint
change() FieldBlueprint
comment(String comment) FieldBlueprint
defaultsTo(dynamic value) FieldBlueprint
foreign() ForeignKeyConstraint
hasForeignKeyConstraint() bool
index([String? name]) FieldBlueprint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nullable() FieldBlueprint
primary([bool value = true]) FieldBlueprint
toString() String
A string representation of this object.
inherited
unique() FieldBlueprint
unsigned() FieldBlueprint
useCurrent() FieldBlueprint
useCurrentOnUpdate() FieldBlueprint

Operators

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