11.5. Design Documents
In CouchDB, design documents provide the main interface for building a CouchDBapplication. The design document defines the views used to extract informationfrom CouchDB through one or more views. Design documents are created withinyour CouchDB instance in the same way as you create database documents, but thecontent and definition of the documents is different. Design Documents arenamed using an ID defined with the design document URL path, and this URL canthen be used to access the database contents.
Views and lists operate together to provide automated (and formatted) outputfrom your database.
- 11.5.1.
/db/_design/design-doc
- 11.5.2.
/db/_design/design-doc/attachment
- 11.5.3.
/db/_design/design-doc/_info
- 11.5.4.
/db/_design/design-doc/_view/view-name
- 11.5.5.
/db/_design/design-doc/_show/show-name
- 11.5.6.
/db/_design/design-doc/_show/show-name/doc-id
- 11.5.7.
/db/_design/design-doc/_list/list-name/view-name
- 11.5.8.
/db/_design/design-doc/_list/list-name/other-ddoc/view-name
- 11.5.9.
/db/_design/design-doc/_update/update-name
- 11.5.10.
/db/_design/design-doc/_update/update-name/doc-id
- 11.5.11.
/db/_design/design-doc/_rewrite/path