Subclass of ComplexExpression where the expression results in a boolean value in SQL.
Included modules
Classes and Modules
Public Instance methods
&(ce)
Always use an AND operator for & on BooleanExpressions
[show source]
# File lib/sequel/sql.rb 1185 def &(ce) 1186 BooleanExpression.new(:AND, self, ce) 1187 end
|(ce)
Always use an OR operator for | on BooleanExpressions
[show source]
# File lib/sequel/sql.rb 1190 def |(ce) 1191 BooleanExpression.new(:OR, self, ce) 1192 end
sql_boolean()
Return self instead of creating a new object to save on memory.
[show source]
# File lib/sequel/sql.rb 1195 def sql_boolean 1196 self 1197 end