Work around H2’s lack of a case insensitive LIKE operator
# File lib/sequel/adapters/jdbc/h2.rb, line 80 def complex_expression_sql(op, args) case op when :ILIKE super(:LIKE, [SQL::PlaceholderLiteralString.new("CAST(? AS VARCHAR_IGNORECASE)", [args.at(0)]), args.at(1)]) when :"NOT ILIKE" super(:"NOT LIKE", [SQL::PlaceholderLiteralString.new("CAST(? AS VARCHAR_IGNORECASE)", [args.at(0)]), args.at(1)]) else super(op, args) end end
H2 doesn't support IS TRUE
# File lib/sequel/adapters/jdbc/h2.rb, line 97 def supports_is_true? false end
H2 doesn't support JOIN USING
# File lib/sequel/adapters/jdbc/h2.rb, line 102 def supports_join_using? false end
H2 doesn't support multiple columns in IN/NOT IN
# File lib/sequel/adapters/jdbc/h2.rb, line 107 def supports_multiple_column_in? false end
Generated with the Darkfish Rdoc Generator 2.