termLengthBetween method

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause> termLengthBetween(
  1. int lowerTermLength,
  2. int upperTermLength,
  3. {bool includeLower = true,
  4. bool includeUpper = true}
)

Implementation

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause>
    termLengthBetween(
  int lowerTermLength,
  int upperTermLength, {
  bool includeLower = true,
  bool includeUpper = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.between(
      indexName: r'termLength',
      lower: [lowerTermLength],
      includeLower: includeLower,
      upper: [upperTermLength],
      includeUpper: includeUpper,
    ));
  });
}