Method: ElasticsearchRecord::Relation::QueryClause#-

Defined in:
lib/elasticsearch_record/relation/query_clause.rb

#-(other) ⇒ Object



28
29
30
# File 'lib/elasticsearch_record/relation/query_clause.rb', line 28

def -(other)
  ::ElasticsearchRecord::Relation::QueryClause.new(key, predicates - other.predicates, Hash[opts.to_a - other.opts.to_a])
end