WhereClause.between()

Syntax

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

Parameters

indexOrPrimKey: String

Name of an index or primary key registered in Version.stores()

lowerBound

Lower bound

upperBound

Upper bound

includeLower

Whether lowerBound should be included or not. Default: true. Specify 'false' explicitly if lowerBound should NOT be included in the results.

includeUpper

Whether upperBound should be included or not. Default: false

Return Value

Collection