Class
Arel::Predicates::Polyadic
In:
lib/arel/algebra/predicates.rb
Parent:
Predicate
Methods
==
bind
build
eval
new
to_sql
Attributes
predicates
[R]
Public Class methods
build
(operator, operand1, *additional_operands)
Build a
Polyadic
predicate based on:
operator
- The
Predicate
subclass that defines the type of operation (
LessThan
,
Equality
, etc)
operand1
- The left-hand operand (normally an
Arel::Attribute
)
additional_operands
-
All
possible right-hand operands
new
(*predicates)
Public Instance methods
==
(other)
bind
(relation)
eval
(row)
to_sql
(formatter = nil)
[Validate]