Sha256: 2efe4f80e4e362863dccb74e17d43197662c79091477f0dc587d876add4bf478
Contents?: true
Size: 301 Bytes
Versions: 19
Compression:
Stored size: 301 Bytes
Contents
module PgSerializable module Nodes class As < Base def initialize(scope, table_alias) @scope = scope @table_alias = table_alias end def to_sql "(#{@scope.respond_to?(:to_sql) ? @scope.to_sql : @scope.to_s}) #{@table_alias}" end end end end
Version data entries
19 entries across 19 versions & 1 rubygems