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.
read-onlyinherited
operator WhereOperator
final
prev String
read / write
query String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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
toString() String
A string representation of this object.
inherited

Operators

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