Sha256: be342bfb719492bf0dd9a20149442c9beb78e15c049f5d4280d9c4cd5e6d7261
Contents?: true
Size: 578 Bytes
Versions: 10
Compression:
Stored size: 578 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::Binary alias expr left alias row_format right 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
10 entries across 10 versions & 1 rubygems