Class CouchDbDesign

java.lang.Object
org.lightcouch.CouchDbDesign

public class CouchDbDesign extends Object
Provides API to work with design documents.

Usage Example:

 // read from system files
 DesignDocument design1 = dbClient.design().getFromDesk("example");
 
 // sync with the database
 dbClient.design().synchronizeWithDb(design1);
 
 // sync all with the database
 dbClient.syncDesignDocsWithDb();
 
 // read from the database
 DesignDocument design2 = dbClient.design().getFromDb("_design/example");
 
Since:
0.0.2
See Also: