readingBetween method

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause> readingBetween(
  1. String lowerReading,
  2. String upperReading,
  3. {bool includeLower = true,
  4. bool includeUpper = true}
)

Implementation

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause>
    readingBetween(
  String lowerReading,
  String upperReading, {
  bool includeLower = true,
  bool includeUpper = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.between(
      indexName: r'reading',
      lower: [lowerReading],
      includeLower: includeLower,
      upper: [upperReading],
      includeUpper: includeUpper,
    ));
  });
}