Class | DataMapper::Query::Conditions::Operation |
In: |
lib/dm-core/query/conditions/operation.rb
|
Parent: | Object |
Factory method to initialize an operation
@example
operation = Operation.new(:and, comparison)
@param [Symbol] slug
the identifier for the operation class
@param [Array] *operands
the operands to initialize the operation with
@return [AbstractOperation]
the operation matching the slug
@api semipublic