termLessThan method

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause> termLessThan(
  1. String term,
  2. {bool include = false}
)

Implementation

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause>
    termLessThan(
  String term, {
  bool include = false,
}) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.between(
      indexName: r'term',
      lower: [],
      upper: [term],
      includeUpper: include,
    ));
  });
}