class Koine::SqlBuilder::Conditions::NotEqual

Public Instance Methods

to_s() click to toggle source
# File lib/koine/sql_builder/conditions/not_equal.rb, line 7
def to_s
  if nil?
    return "#{field} IS NOT NULL"
  end

  "#{field} != #{adapter.quote(value)}"
end