WhereClause.between()

Syntax

table.where(indexOrPrimKey)
  .between(lowerBound, upperBound, includeLower, includeUpper)

Parameters

indexOrPrimKey: StringName of an index or primary key registered in Version.stores()
lowerBoundLower bound
upperBoundUpper bound
includeLowerWhether lowerBound should be included or not. Default: true. Specify 'false' explicitly if lowerBound should NOT be included in the results.
includeUpperWhether upperBound should be included or not. Default: false

Return Value

Collection

Table of Contents