Column class sealed

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

date(String name, {bool nullable = false, bool unique = false}) → GenericColumn
dateTime(String name, {bool nullable = false, bool unique = false}) → GenericColumn
integer(String name, {bool nullable = false, bool unique = false}) → GenericColumn
json(String name, {bool nullable = false}) → JsonColumn
primaryKey(String name) → PrimaryKeyColumn
primaryKeyCuid(String name) → PrimaryKeyCuidColumn
primaryKeyUuid(String name) → PrimaryKeyUuidColumn
reference(String name, Table table, {bool nullable = false, CascadeOperation? onUpdate, CascadeOperation? onDelete}) → ReferenceColumn
text(String name, {bool nullable = false, String? defaultValue, bool unique = false}) → TextColumn