Method: ArelExtensions::Visitors::MSSQL#visit_ArelExtensions_Nodes_IsNotNull

Defined in:
lib/arel_extensions/visitors/mssql.rb

#visit_ArelExtensions_Nodes_IsNotNull(o, collector) ⇒ Object



192
193
194
195
196
197
# File 'lib/arel_extensions/visitors/mssql.rb', line 192

def visit_ArelExtensions_Nodes_IsNotNull o, collector
  collector << '('
    collector = visit o.expr, collector
    collector << ' IS NOT NULL)'
    collector
end