module Frodo::Query::Criteria::LambdaOperators

Public Instance Methods

all(property) click to toggle source

Applies the `any` lambda operator to the given property @param property [to_s] @return [self]

# File lib/frodo/query/criteria/lambda_operators.rb, line 15
def all(property)
  set_function_and_argument(:all, property)
end
any(property) click to toggle source

Applies the `any` lambda operator to the given property @param property [to_s] @return [self]

# File lib/frodo/query/criteria/lambda_operators.rb, line 8
def any(property)
  set_function_and_argument(:any, property)
end

Private Instance Methods

lambda_operator?() click to toggle source
# File lib/frodo/query/criteria/lambda_operators.rb, line 21
def lambda_operator?
  [:any, :all].include?(function)
end