Sha256: 6639b350d2bb8bab6c3f60ca575378b3f8d14b0ee3c04f0cf0af82859294c3c0
Contents?: true
Size: 436 Bytes
Versions: 32
Compression:
Stored size: 436 Bytes
Contents
module Arel module SqlCompiler class HsqldbCompiler < GenericCompiler def select_sql # HSQLDB needs to add LIMIT in right after SELECT query = super offset = relation.skipped limit = relation.taken @engine.connection.add_limit_offset!(query, :limit => limit, :offset => offset) if offset || limit query end end end end
Version data entries
32 entries across 32 versions & 7 rubygems