searchTermEqualTo method

QueryBuilder<SearchHistoryItem, SearchHistoryItem, QAfterWhereClause> searchTermEqualTo(
  1. String searchTerm
)

Implementation

QueryBuilder<SearchHistoryItem, SearchHistoryItem, QAfterWhereClause>
    searchTermEqualTo(String searchTerm) {
  return QueryBuilder.apply(this, (query) {
    return query.addWhereClause(IndexWhereClause.equalTo(
      indexName: r'searchTerm',
      value: [searchTerm],
    ));
  });
}