Method: ROM::SQL::Relation::Reading#select
- Defined in:
- lib/rom/sql/relation/reading.rb
#select(*columns) ⇒ Relation #select(*attributes) ⇒ Relation #select(&block) ⇒ Relation #select(*columns, &block) ⇒ Relation Also known as: project
Select specific columns for select clause
215 216 217 |
# File 'lib/rom/sql/relation/reading.rb', line 215 def select(*args, &block) schema.project(*args, &block).(self) end |