Class: Arel::Predicates::Not
- Defined in:
- lib/arel/algebra/predicates.rb,
lib/arel/engines/sql/predicates.rb,
lib/arel/engines/memory/predicates.rb
Instance Method Summary collapse
Methods inherited from Unary
Methods inherited from Predicate
Instance Method Details
#complement ⇒ Object
84 85 86 |
# File 'lib/arel/algebra/predicates.rb', line 84 def complement operand end |
#eval(row) ⇒ Object
16 17 18 |
# File 'lib/arel/engines/memory/predicates.rb', line 16 def eval(row) !operand.eval(row) end |
#predicate_sql ⇒ Object
16 |
# File 'lib/arel/engines/sql/predicates.rb', line 16 def predicate_sql; "NOT" end |