Method: CouchClient::Connection#all_docs
- Defined in:
- lib/couch-client/connection.rb
#all_docs(options = {}) ⇒ Object
Acts as the interface to CouchDB’s ‘_all_docs` map view.
77 78 79 80 |
# File 'lib/couch-client/connection.rb', line 77 def all_docs( = {}) # Create a new Collection with the response code, body and connection. Collection.new(*@hookup.get(["_all_docs"], ), self) end |