Class DataMapper::Query::Conditions::OrOperation
In: lib/dm-core/query/conditions/operation.rb
Parent: AbstractOperation

Methods

matches?   minimize   valid?  

Included Modules

FlattenOperation

Public Instance methods

Match the record

@param [Resource, Hash] record

  the resource to match

@return [true]

  true if the record matches, false if not

@api semipublic

Minimize the operation

@return [self]

  the minimized OrOperation

@return [AbstractOperation, AbstractComparison, Array]

  the minimized operation

@api semipublic

Test if the operation is valid

An OrOperation is valid if one of it‘s operands is valid.

@return [Boolean]

  true if the operation is valid, false if not

@api semipublic

[Validate]