Module: DataMapper::Couch::Model

Defined in:
lib/couchdb_adapter/model.rb

Instance Method Summary collapse

Instance Method Details

#new_collection(query, resources = nil, &block) ⇒ Object



4
5
6
# File 'lib/couchdb_adapter/model.rb', line 4

def new_collection(query, resources = nil, &block)
  Couch::Collection.new(query, resources, &block)
end