Class | FalseClass |
In: |
lib/sequel/extensions/sql_expr.rb
lib/sequel/extensions/blank.rb |
Parent: | Object |
The blank extension adds the blank? method to all objects (e.g. Object#blank?).
Returns a copy of the object wrapped in a Sequel::SQL::BooleanExpression, allowing easy use of Sequel‘s DSL:
false.sql_expr & :a # FALSE AND a
# File lib/sequel/extensions/sql_expr.rb, line 52 52: def sql_expr 53: Sequel::SQL::BooleanExpression.new(:NOOP, self) 54: end