Defines a CouchDB design document.
A Design document is a special CouchDB document which helps querying a CouchDB database.
You will be able to define views, updates and filters in the design document. As design documents are replicated on the mobile devices as any other document, defining a view on the server side will enable to query the same view on the mobile device.
Views can also be queried on the server side by using the GetView transaction.
| Property | Type | Category | Description |
|---|---|---|---|
| Comment | String | standard | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
| _id | String | standard | The document’s identifier in the CouchDB database. |
| _rev | String | standard | The document’s revision in the CouchDB database. |
Design document