Column class

@Column annotation used to customize the column defination.

Inheritance

Constructors

Column({String? name, int length = 255, int precision = 0, int scale = 0, bool unique = false, bool nullable = true, bool insertable = true, bool updatable = true, String? columnDefinition, String? table})
const

Properties

columnDefinition String?
final
hashCode int
The hash code for this object.
no setterinherited
insertable bool
final
length int
final
name String?
final
nullable bool
final
precision int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale int
final
table String?
final
unique bool
final
updatable bool
final

Methods

isServerSide(ActionType actionType) bool
whether it's executed at the database side.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serverSideExpr(ActionType actionType) String
expression which will be executed at the database side.
inherited
toString() String
A string representation of this object.
inherited

Operators

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