searchTermMatches method

QueryBuilder<DictionarySearchResult, DictionarySearchResult, QAfterFilterCondition> searchTermMatches(
  1. String pattern,
  2. {bool caseSensitive = true}
)

Implementation

QueryBuilder<DictionarySearchResult, DictionarySearchResult,
        QAfterFilterCondition>
    searchTermMatches(String pattern, {bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addFilterCondition(FilterCondition.matches(
      property: r'searchTerm',
      wildcard: pattern,
      caseSensitive: caseSensitive,
    ));
  });
}