Module: Daodalus::DSL

Includes:
Aggregations, Clause, Queries, Updates
Included in:
DAO
Defined in:
lib/daodalus/dsl.rb,
lib/daodalus/dsl/query.rb,
lib/daodalus/dsl/where.rb,
lib/daodalus/dsl/clause.rb,
lib/daodalus/dsl/select.rb,
lib/daodalus/dsl/update.rb,
lib/daodalus/dsl/queries.rb,
lib/daodalus/dsl/updates.rb,
lib/daodalus/dsl/matchers.rb,
lib/daodalus/dsl/aggregations.rb,
lib/daodalus/dsl/aggregation/skip.rb,
lib/daodalus/dsl/aggregation/sort.rb,
lib/daodalus/dsl/aggregation/group.rb,
lib/daodalus/dsl/aggregation/limit.rb,
lib/daodalus/dsl/aggregation/match.rb,
lib/daodalus/dsl/aggregation/unwind.rb,
lib/daodalus/dsl/aggregation/project.rb

Defined Under Namespace

Modules: Aggregation, Aggregations, Clause, Matchers, Queries, Updates Classes: Query, Select, Update, Where

Instance Method Summary collapse

Methods included from Aggregations

#aggregate, #group, #limit, #match, #project, #skip, #sort, #unwind

Methods included from Updates

#add_each_to_set, #add_to_set, #dec, #find_and_modify, #inc, #pop_first, #pop_last, #pull, #pull_all, #push, #push_all, #rename, #set, #unset, #update, #upsert

Methods included from Queries

#find, #find_one, #remove, #select, #where

Methods included from Clause

#to_projection, #to_query, #to_update

Instance Method Details

#daoObject



16
17
18
# File 'lib/daodalus/dsl.rb', line 16

def dao
  self
end

#pipelineObject



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

def pipeline
  []
end

#queryObject



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

def query
  Query.new
end