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_projectionObject



9
10
11
# File 'lib/daodalus/dsl/clause.rb', line 9

def to_projection
  query.selects
end

#to_queryObject



5
6
7
# File 'lib/daodalus/dsl/clause.rb', line 5

def to_query
  query.wheres
end

#to_updateObject



13
14
15
# File 'lib/daodalus/dsl/clause.rb', line 13

def to_update
  query.updates
end