Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface IViewIndexManager

Namespace: Couchbase.Management.Views
Assembly: Couchbase.NetClient.dll
Syntax
[Obsolete("The View service has been deprecated use the Query service instead.")]
public interface IViewIndexManager

Methods

View Source

DropDesignDocumentAsync(string, DesignDocumentNamespace, DropDesignDocumentOptions?)

Declaration
Task DropDesignDocumentAsync(string designDocName, DesignDocumentNamespace @namespace, DropDesignDocumentOptions? options = null)
Parameters
Type Name Description
string designDocName
DesignDocumentNamespace namespace
DropDesignDocumentOptions options
Returns
Type Description
Task
View Source

GetAllDesignDocumentsAsync(DesignDocumentNamespace, GetAllDesignDocumentsOptions?)

Declaration
Task<IEnumerable<DesignDocument>> GetAllDesignDocumentsAsync(DesignDocumentNamespace @namespace, GetAllDesignDocumentsOptions? options = null)
Parameters
Type Name Description
DesignDocumentNamespace namespace
GetAllDesignDocumentsOptions options
Returns
Type Description
Task<IEnumerable<DesignDocument>>
View Source

GetDesignDocumentAsync(string, DesignDocumentNamespace, GetDesignDocumentOptions?)

Declaration
Task<DesignDocument> GetDesignDocumentAsync(string designDocName, DesignDocumentNamespace @namespace, GetDesignDocumentOptions? options = null)
Parameters
Type Name Description
string designDocName
DesignDocumentNamespace namespace
GetDesignDocumentOptions options
Returns
Type Description
Task<DesignDocument>
View Source

PublishDesignDocumentAsync(string, PublishDesignDocumentOptions?)

Declaration
Task PublishDesignDocumentAsync(string designDocName, PublishDesignDocumentOptions? options = null)
Parameters
Type Name Description
string designDocName
PublishDesignDocumentOptions options
Returns
Type Description
Task
View Source

UpsertDesignDocumentAsync(DesignDocument, DesignDocumentNamespace, UpsertDesignDocumentOptions?)

Declaration
Task UpsertDesignDocumentAsync(DesignDocument indexData, DesignDocumentNamespace @namespace, UpsertDesignDocumentOptions? options = null)
Parameters
Type Name Description
DesignDocument indexData
DesignDocumentNamespace namespace
UpsertDesignDocumentOptions options
Returns
Type Description
Task

Extension Methods

ViewManagerExtensions.DropDesignDocumentAsync(IViewIndexManager, string, DesignDocumentNamespace)
ViewManagerExtensions.DropDesignDocumentAsync(IViewIndexManager, string, DesignDocumentNamespace, Action<DropDesignDocumentOptions>)
ViewManagerExtensions.GetAllDesignDocumentsAsync(IViewIndexManager, DesignDocumentNamespace)
ViewManagerExtensions.GetAllDesignDocumentsAsync(IViewIndexManager, DesignDocumentNamespace, Action<GetAllDesignDocumentsOptions>)
ViewManagerExtensions.GetDesignDocumentAsync(IViewIndexManager, string, DesignDocumentNamespace)
ViewManagerExtensions.GetDesignDocumentAsync(IViewIndexManager, string, DesignDocumentNamespace, Action<GetDesignDocumentOptions>)
ViewManagerExtensions.PublishDesignDocumentAsync(IViewIndexManager, string)
ViewManagerExtensions.PublishDesignDocumentAsync(IViewIndexManager, string, Action<PublishDesignDocumentOptions>)
ViewManagerExtensions.UpsertDesignDocumentAsync(IViewIndexManager, DesignDocument, DesignDocumentNamespace)
ViewManagerExtensions.UpsertDesignDocumentAsync(IViewIndexManager, DesignDocument, DesignDocumentNamespace, Action<UpsertDesignDocumentOptions>)
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.