public List < DesignDocument > list ( ) throws IOException { return db . getAllDocsRequestBuilder ( ) . startKey ( "_design/" ) . endKey ( "_design0" ) . inclusiveEnd ( false ) . includeDocs ( true ) . build ( ) . getResponse ( ) . getDocsAs ( DesignDocument . class ) ; }
Performs a query to retrieve all the design documents defined in the database .