Method: Sequel::SQL::Builders#is_distinct_from

Defined in:
lib/sequel/extensions/is_distinct_from.rb

#is_distinct_from(lhs, rhs) ⇒ Object

Return a IsDistinctFrom expression object, using the IS DISTINCT FROM operator with the given left hand side and right hand side.



37
38
39
# File 'lib/sequel/extensions/is_distinct_from.rb', line 37

def is_distinct_from(lhs, rhs)
  BooleanExpression.new(:NOOP, IsDistinctFrom.new(lhs, rhs))
end