nil is always blank
# File lib/sequel/extensions/blank.rb, line 19 def blank? true end
Returns a copy of the object wrapped in a Sequel::SQL::BooleanExpression, allowing easy use of Sequel's DSL:
~nil.sql_expr # NOT NULL
# File lib/sequel/extensions/sql_expr.rb, line 63 def sql_expr Sequel::SQL::BooleanExpression.new(:NOOP, self) end
Generated with the Darkfish Rdoc Generator 2.