Sha256: 1b4fce8ba3762c96ddc16bf8930d5a6715aef8c57c6d330ec040ab1c5a25754a
Contents?: true
Size: 297 Bytes
Versions: 3
Compression:
Stored size: 297 Bytes
Contents
require 'rom/mapper_compiler' module ROM module SQL class MapperCompiler < ROM::MapperCompiler def visit_attribute(node) name, _, meta = node if meta[:wrapped] [name, from: meta[:alias]] else [name] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rom-sql-2.5.0 | lib/rom/sql/mapper_compiler.rb |
rom-sql-2.4.0 | lib/rom/sql/mapper_compiler.rb |
rom-sql-2.3.0 | lib/rom/sql/mapper_compiler.rb |