Method: Elasticated::Conditions::ExistsCondition#build

Defined in:
lib/elasticated/conditions/exists_condition.rb

#buildObject



5
6
7
# File 'lib/elasticated/conditions/exists_condition.rb', line 5

def build
  { exists: { field: field }.merge(opts) }
end