Sha256: 49f2aa6050ae45e6a7c8028c956e79f720c2bb12fb80c6133e0d35ff98487a65
Contents?: true
Size: 994 Bytes
Versions: 7
Compression:
Stored size: 994 Bytes
Contents
# frozen-string-literal: true module Sequel module Progress module DatabaseMethods # Progress uses the :progress database type. def database_type :progress end end module DatasetMethods Dataset.def_sql_method(self, :select, %w'select limit distinct columns from join where group order having compounds') # Progress requires SQL standard datetimes def requires_sql_standard_datetimes? true end # Progress does not support INTERSECT or EXCEPT def supports_intersect_except? false end private # Progress uses TOP for limit, but it is only supported in Progress 10. # The Progress adapter targets Progress 9, so it silently ignores the option. def select_limit_sql(sql) raise(Error, "OFFSET not supported") if @opts[:offset] # if l = @opts[:limit] # sql << " TOP " # literal_append(sql, l) # end end end end end
Version data entries
7 entries across 6 versions & 2 rubygems