Sha256: a54a1479c19a132751169db64fe11bb2edf5e7301d2038cf9d3a8f720783723e
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes # Postgres: https://www.postgresql.org/docs/9.2/sql-expressions.html class Row < Arel::Nodes::Unary attr_reader :row_format def initialize(args, row_format) super(args) @row_format = row_format end end end module Visitors class ToSql def visit_Arel_Nodes_Row(o, collector) collector << 'ROW(' visit o.expr, collector collector << ')' end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arel_toolkit-0.3.0 | lib/arel/extensions/row.rb |
arel_toolkit-0.2.0 | lib/arel/extensions/row.rb |