Create an empty design document if none exists.
Create an empty design document if none exists. Raises an exception if the design already exists.
the design document if created..
Deletes this design document from the couchdb instance
Deletes the filter identified by its name from the design document
Deletes the list function with the given name from the design
Deletes the show function with the given name from the design
Deletes the update function with the given name from the design
Deletes the document validation function from the design
Deletes the view with the given name from the design
Check if the design exists.
Check if the design exists.
true if it does, false otherwise
Returns the design document from the couchdb instance.
Returns the design document from the couchdb instance.
Returns None
if the design document does not exist.
Retrieves the rewrite rules associated to this design document.
Returns representation of the list function with the given view.
Creates or updates a filter function.
Creates or updates a filter function. If the design does not exist yet, it is created.
Creates or update the update function in this design with the given name.
Creates or update the update function in this design with the given name. If the design does not exist yet, it is created.
Creates or updates the list of rewrite rules.
Creates or updates the list of rewrite rules. If the design does not exist yet, it is created.
Creates or update the show function in this design with the given name.
Creates or update the show function in this design with the given name. If the design does not exist yet, it is created.
Creates or update the update function in this design with the given name.
Creates or update the update function in this design with the given name. If the design does not exist yet, it is created.
Creates or updates the document validation function.
Creates or updates the document validation function. If the design does not exist yet, it is created.
Creates or updates the view in this design with the given name.
Creates or updates the view in this design with the given name. If the design does not exist yet, it is created.
Creates or updates the view in this design with the given name, map function and reduce function.
Creates or updates the view in this design with the given name, map function and reduce function. If the design does not exist yet, it is created.
Returns representation of the show function for this design.
Returns representation of the update function with the given view.
Returns the view in this design document.
A design gives access to the different views. Use this class to get or create new views.