ColumnCount class

A Column holding a count of rows.

Inheritance

Constructors

ColumnCount(Expression? innerWhere, Column column)
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
innerWhere Expression?
Where expression applied to filter what is counted.
getter/setter pair
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

Methods

between(int min, int max) Expression
Creates an Expression checking if the value in the column inclusively is between the min, max values.
inherited
equals(int value) Expression
Creates an Expression checking if the value in the column equals the specified value.
inherited
inSet(Set<int> 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 match no rows.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notBetween(int min, int max) Expression
Creates an Expression checking if the value in the column inclusively is NOT between the min, max values.
inherited
notEquals(int value) Expression
Creates an Expression checking if the value in the column does not equal the specified value.
inherited
notInSet(Set<int> 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 match all rows.
inherited
toString() String
A string representation of this object.
inherited
wrapInOperation(String value) String
Wraps string in Column operation

Operators

operator <(dynamic other) Expression
Database less than operator.
inherited
operator <=(dynamic other) Expression
Database less or equal than operator.
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >(dynamic other) Expression
Database greater than operator.
inherited
operator >=(dynamic other) Expression
Database greater or equal than operator.
inherited