ViewIndexManager

class ViewIndexManager

Functions

Link copied to clipboard
suspend fun dropDesignDocument(name: String, namespace: DesignDocumentNamespace, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun getAllDesignDocuments(namespace: DesignDocumentNamespace, common: CommonOptions = CommonOptions.Default): List<DesignDocument>
Link copied to clipboard
suspend fun getDesignDocument(name: String, namespace: DesignDocumentNamespace, common: CommonOptions = CommonOptions.Default): DesignDocument

Returns the named design document from the specified namespace.

Link copied to clipboard
suspend fun publishDesignDocument(name: String, common: CommonOptions = CommonOptions.Default)
Link copied to clipboard
suspend fun upsertDesignDocument(doc: DesignDocument, namespace: DesignDocumentNamespace, common: CommonOptions = CommonOptions.Default)