Class: Daodalus::DSL::Where

Inherits:
Object
  • Object
show all
Includes:
Clause, Matchers, Queries, Updates
Defined in:
lib/daodalus/dsl/where.rb

Instance Method Summary collapse

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