Module: Sequel::SQL::IsDistinctFrom::Methods
- Included in:
- LiteralString, GenericExpression, Symbol
- Defined in:
- lib/sequel/extensions/is_distinct_from.rb
Overview
These methods are added to expressions, allowing them to return IS DISTINCT FROM expressions based on the receiving expression.
Instance Method Summary collapse
- 
  
    
      #is_distinct_from(rhs)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Return a IsDistinctFrom expression, using the IS DISTINCT FROM operator, with the receiver as the left hand side and the argument as the right hand side. 
Instance Method Details
#is_distinct_from(rhs) ⇒ Object
Return a IsDistinctFrom expression, using the IS DISTINCT FROM operator, with the receiver as the left hand side and the argument as the right hand side.
| 49 50 51 | # File 'lib/sequel/extensions/is_distinct_from.rb', line 49 def is_distinct_from(rhs) BooleanExpression.new(:NOOP, IsDistinctFrom.new(self, rhs)) end |