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
49 def is_distinct_from(rhs)
50   BooleanExpression.new(:NOOP, IsDistinctFrom.new(self, rhs))
51 end