IndexWhereClause class

A where clause traversing an index.

Inheritance

Constructors

IndexWhereClause.any({required String indexName})
Where clause that matches all index values. Useful to get sorted results.
const
IndexWhereClause.between({required String indexName, required IndexKey lower, bool includeLower = true, required IndexKey upper, bool includeUpper = true, double epsilon = Query.epsilon})
Where clause that matches all index values between the given lower and upper bounds.
const
IndexWhereClause.equalTo({required String indexName, required IndexKey value, double epsilon = Query.epsilon})
Where clause that matches all index values equal to the given value.
const
IndexWhereClause.greaterThan({required String indexName, required IndexKey lower, bool includeLower = true, double epsilon = Query.epsilon})
Where clause that matches all index values greater than the given lower bound.
const
IndexWhereClause.lessThan({required String indexName, required IndexKey upper, bool includeUpper = true, double epsilon = Query.epsilon})
Where clause that matches all index values less than the given upper bound.
const

Properties

epsilon double
The precision to use for floating point values.
final
hashCode int
The hash code for this object.
no setterinherited
includeLower bool
Whether the lower bound should be included in the results. Double values are never included.
final
includeUpper bool
Whether the upper bound should be included in the results. Double values are never included.
final
indexName String
The Isar name of the index to be used.
final
lower IndexKey?
The lower bound of the where clause.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upper IndexKey?
The upper bound of the where clause.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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