| Module | CouchRest::Model::DocumentQueries::ClassMethods |
| In: |
lib/couchrest/model/document_queries.rb
|
Load a document from the database by id No exceptions will be raised if the document isn‘t found
| Object: | if the document was found |
or Nil::
| id<String, Integer>: | Document ID |
| db<Database>: | optional option to pass a custom database to use |