module Sequel::SQL::IsDistinctFrom::Methods

These methods are added to expressions, allowing them to return IS DISTINCT FROM expressions based on the receiving expression.

Public Instance Methods

is_distinct_from(rhs) click to toggle source

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.

# File lib/sequel/extensions/is_distinct_from.rb, line 48
def is_distinct_from(rhs)
  BooleanExpression.new(:NOOP, IsDistinctFrom.new(self, rhs))
end