You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A design document is a CouchDB document with an id that begins with _desi
gn/. For instance, the example blog application, Sofa, is stored in a desig=
n document with the id _design/sofa. Design documents are just like any oth=
er CouchDB document: they replicate along with the other documents in their=
database, and track edit conflicts with the rev parameter
This paragraph seems to be written from the point of view of the
CouchDB developer rather than the (newbie) CouchDB user. I would
write it this way:
A CouchDB design document contains the applications design. It is
executed when the application is installed and when the file is
changed. It is written in json. The design document for the Sofa
application might be called sofa.json.
It is stored in the database like any other document. As such, it
replicates along with the other documents in the applications
database. Edit conflicts are tracked with the rev parameter.
The design document is identified by an id that begins with _design/.
The Sofa application would have a design document identified by
_design/sofa.
The text was updated successfully, but these errors were encountered:
From http://books.couchdb.org/relax/design-documents/design-documents
This paragraph seems to be written from the point of view of the
A CouchDB design document contains the applications design. It is executed when the application is installed and when the file is changed. It is written in json. The design document for the Sofa application might be called sofa.json.CouchDB developer rather than the (newbie) CouchDB user. I would
write it this way:
It is stored in the database like any other document. As such, it
replicates along with the other documents in the applications
database. Edit conflicts are tracked with the rev parameter.
The design document is identified by an id that begins with _design/.
The Sofa application would have a design document identified by
_design/sofa.
The text was updated successfully, but these errors were encountered: