popularityBetween method

QueryBuilder<DictionaryEntry, DictionaryEntry, QAfterWhereClause> popularityBetween(
  1. double lowerPopularity,
  2. double upperPopularity,
  3. {bool includeLower = true,
  4. bool includeUpper = true}
)

Implementation

QueryBuilder<DictionaryEntry, DictionaryEntry, QAfterWhereClause>
    popularityBetween(
  double lowerPopularity,
  double upperPopularity, {
  bool includeLower = true,
  bool includeUpper = true,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.between(
      indexName: r'popularity',
      lower: [lowerPopularity],
      includeLower: includeLower,
      upper: [upperPopularity],
      includeUpper: includeUpper,
    ));
  });
}