searchTermContains method

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

Implementation

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