ColumnString class

A Column holding an String.

Inheritance

Constructors

ColumnString(String columnName, Table table, {int? varcharLength})
Creates a new Column, this is typically done in generated code only.

Properties

columnName String
Name of the Column.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
queryAlias String
Query alias for the Column.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table Table
Table that column belongs to.
finalinherited
type Type
Corresponding dart Type.
finalinherited
varcharLength int?
Maximum length for a varchar
final

Methods

equals(String? value) Expression
Creates an Expression checking if the value in the column equals the specified value.
inherited
ilike(String value) Expression
Creates an Expression checking if the value in the column is LIKE the specified value but ignoring case. See Postgresql docs for more info on the ILIKE operator.
inSet(Set<String> values) Expression
Creates and Expression checking if the value in the column is included in the specified set of values. If the set is empty, the expression will always be false and match no rows.
inherited
like(String value) Expression
Creates an Expression checking if the value in the column is LIKE the specified value. See Postgresql docs for more info on the LIKE operator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(String? value) Expression
Creates an Expression checking if the value in the column does not equal the specified value.
inherited
notIlike(String value) Expression
Creates an Expression checking if the value in the column is NOT LIKE the specified value but ignoring case. See Postgresql docs for more info on the NOT ILIKE operator.
notInSet(Set<String> values) Expression
Creates and Expression checking if the value in the column is NOT included in the specified set of values. If the set is empty, the expression will always be true and match all rows.
inherited
notLike(String value) Expression
Creates an Expression checking if the value in the column is NOT LIKE the specified value. See Postgresql docs for more info on the LIKE operator.
toString() String
A string representation of this object.
inherited

Operators

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