Class: Daodalus::DSL::Where
- Inherits:
-
Object
- Object
- Daodalus::DSL::Where
- Defined in:
- lib/daodalus/dsl/where.rb
Instance Method Summary collapse
-
#initialize(dao, query, field) ⇒ Where
constructor
A new instance of Where.
Methods included from Matchers
#all, #any, #does_not_exist, #elem_match, #eq, #exists, #gt, #gte, #in, #lt, #lte, #ne, #nin, #none, #not, #size
Methods included from Queries
#find, #find_one, #select, #where
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 Clause
#to_projection, #to_query, #to_update
Constructor Details
#initialize(dao, query, field) ⇒ Where
Returns a new instance of Where.
9 10 11 12 13 |
# File 'lib/daodalus/dsl/where.rb', line 9 def initialize(dao, query, field) @dao = dao @query = query @field = field end |