module Sequel::SQL::IsDistinctFrom::Methods

  1. lib/sequel/extensions/is_distinct_from.rb

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

Methods

Public Instance

  1. is_distinct_from

Public Instance methods

is_distinct_from(rhs)

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.

[show source]
   # File lib/sequel/extensions/is_distinct_from.rb
49 def is_distinct_from(rhs)
50   BooleanExpression.new(:NOOP, IsDistinctFrom.new(self, rhs))
51 end