Where class

Where("age", WhereOperator.isGreaterThan, 40);
Where("age", WhereOperator.isGreaterThan, 40).and("gender", WhereOperator.isEqual, "M");
Where.not("age", WhereOperator.isGreaterThan, 40).and("gender", WhereOperator.isEqual, "M");

Constructors

Where(String columnName, WhereOperator operator, Object value)
Where.not(String columnName, WhereOperator operator, Object value)

Properties

columnName String
final
hashCode int
The hash code for this object.
no setterinherited
operator WhereOperator
final
prev String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object
final

Methods

and(String columnName, WhereOperator operator, Object value) Where
andNot(String columnName, WhereOperator operator, Object value) Where
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
or(String columnName, WhereOperator operator, Object value) Where
query([String? label]) String
toString() String
A string representation of this object.
inherited

Operators

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