Column<T> class abstract

Abstract definition of a database schema column. T is the Dart type associated with the column's value.

Implemented types
Implementers

Constructors

Column(String? name, {bool isNullable = false, bool isGuarded = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isGuarded bool
Prevents this column from being mass-assigned during inserts/updates. This isGuarded is ignored on pivot column.
final
isNullable bool
final
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The underlying SQL data type definition.
no setter

Methods

equals(T value) WhereCondition
inList(List<T> values) WhereCondition
isNotNull() WhereCondition
isNull() WhereCondition
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(T value) WhereCondition
notInList(List<T> values) WhereCondition
toString() String
Returns the raw column name or expression used in query generation.
override

Operators

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