Sha256: 0531f8e23409065427061eee1d6040d0bc2a29a73de45a6c681d4a796074c821
Contents?: true
Size: 548 Bytes
Versions: 3
Compression:
Stored size: 548 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes # Postgres: https://www.postgresql.org/docs/9.4/sql-select.html class RangeFunction < Arel::Nodes::Unary end end module Visitors class ToSql def visit_Arel_Nodes_RangeFunction(o, collector) collector << 'ROWS FROM (' visit o.expr, collector collector << ')' end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
arel_toolkit-0.4.0 | lib/arel/extensions/range_function.rb |
arel_toolkit-0.3.0 | lib/arel/extensions/range_function.rb |
arel_toolkit-0.2.0 | lib/arel/extensions/range_function.rb |