Module: Arel::Sql::NilClassExtensions

Defined in:
lib/arel/engines/sql/core_extensions/nil_class.rb

Instance Method Summary collapse

Instance Method Details

#equality_predicate_sqlObject



4
5
6
# File 'lib/arel/engines/sql/core_extensions/nil_class.rb', line 4

def equality_predicate_sql
  'IS'
end

#inequality_predicate_sqlObject



8
9
10
# File 'lib/arel/engines/sql/core_extensions/nil_class.rb', line 8

def inequality_predicate_sql
  'IS NOT'
end