Skip to content

WhereClause.between()

David Fahlander edited this page Nov 25, 2016 · 4 revisions

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

Clone this wiki locally