Module: Mongoid::Collections::Operations
- Defined in:
- lib/mongoid/collections/operations.rb
Overview
:nodoc:
Constant Summary collapse
- READ =
Constant definining all the read operations available for a Mongo:Collection. This is used in delegation.
[ :[], :db, :count, :distinct, :find, :find_one, :group, :index_information, :map_reduce, :mapreduce, :stats, :options ]
- WRITE =
Constant definining all the write operations available for a Mongo:Collection. This is used in delegation.
[ :<<, :create_index, :drop, :drop_index, :drop_indexes, :find_and_modify, :insert, :remove, :rename, :save, :update ]
- ALL =
Convenience constant for getting back all collection operations.
(READ + WRITE)
- PROXIED =
ALL - [ :find, :find_one, :map_reduce, :mapreduce, :update ]