Class: ROM::Memory::Schema
- Defined in:
- core/lib/rom/memory/schema.rb
Overview
Specialized schema for memory adapter
Instance Method Summary collapse
Instance Method Details
#call(relation) ⇒ Object
14 15 16 |
# File 'core/lib/rom/memory/schema.rb', line 14 def call(relation) relation.new(relation.dataset.project(*map(&:name)), schema: self) end |