Represents an SQL CASE expression, used for conditions.
Create an object with the given conditions and default value.
# File lib/sequel/sql.rb, line 536 def initialize(conditions, default, expression = nil) raise(Sequel::Error, 'CaseExpression conditions must be a hash or array of all two pairs') unless Sequel.condition_specifier?(conditions) @conditions, @default, @expression = conditions.to_a, default, expression end
Generated with the Darkfish Rdoc Generator 2.