Module: Daodalus::DSL::Clause
- Included in:
- Daodalus::DSL, Select, Update, Where
- Defined in:
- lib/daodalus/dsl/clause.rb
Instance Method Summary collapse
Instance Method Details
#to_projection ⇒ Object
9 10 11 |
# File 'lib/daodalus/dsl/clause.rb', line 9 def to_projection query.selects end |
#to_query ⇒ Object
5 6 7 |
# File 'lib/daodalus/dsl/clause.rb', line 5 def to_query query.wheres end |
#to_update ⇒ Object
13 14 15 |
# File 'lib/daodalus/dsl/clause.rb', line 13 def to_update query.updates end |