lib/sequel/adapters/openbase.rb in sequel-3.4.0 vs lib/sequel/adapters/openbase.rb in sequel-3.5.0
- old
+ new
@@ -35,11 +35,11 @@
c.disconnect
end
end
class Dataset < Sequel::Dataset
- SELECT_CLAUSE_ORDER = %w'distinct columns from join where group having compounds order limit'.freeze
+ SELECT_CLAUSE_METHODS = clause_methods(:select, %w'distinct columns from join where group having compounds order limit')
def fetch_rows(sql)
execute(sql) do |result|
begin
@columns = result.column_infos.map{|c| output_identifier(c.name)}
@@ -55,11 +55,11 @@
self
end
private
- def select_clause_order
- SELECT_CLAUSE_ORDER
+ def select_clause_methods
+ SELECT_CLAUSE_METHODS
end
end
end
end