termStartsWith method

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause> termStartsWith(
  1. String TermPrefix
)

Implementation

QueryBuilder<DictionaryHeading, DictionaryHeading, QAfterWhereClause>
    termStartsWith(String TermPrefix) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.between(
      indexName: r'term',
      lower: [TermPrefix],
      upper: ['$TermPrefix\u{FFFFF}'],
    ));
  });
}