popularityLessThan method

QueryBuilder<DictionaryEntry, DictionaryEntry, QAfterWhereClause> popularityLessThan(
  1. double popularity,
  2. {bool include = false}
)

Implementation

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