TextColumn class

Maps a Dart String to a database TEXT/VARCHAR column.

Inheritance

Constructors

TextColumn(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.
finalinherited
isNullable bool
finalinherited
name String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The underlying SQL data type definition.
no setteroverride

Methods

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

Operators

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