getDesignDocument

suspend fun getDesignDocument(name: String, namespace: DesignDocumentNamespace, common: CommonOptions = CommonOptions.Default): DesignDocument

Returns the named design document from the specified namespace.

Parameters

name

name of the design document to retrieve

namespace

namespace to look in

Throws

if the namespace does not contain a document with the given name