getDesignDocument
suspend fun getDesignDocument(name: String, namespace: DesignDocumentNamespace, common: CommonOptions = CommonOptions.Default): DesignDocument
Content copied to clipboard
Returns the named design document from the specified namespace.
Parameters
name
name of the design document to retrieve
namespace
namespace to look in
Throws
com.couchbase.client.core.error.DesignDocumentNotFoundException
if the namespace does not contain a document with the given name