Class ViewIndexManager

ViewIndexManager is an interface which enables the management of view indexes on the cluster.

Hierarchy

  • ViewIndexManager

Methods

  • Drops an existing design document.

    Parameters

    • designDocName: string

      The name of the design document to drop.

    • Optional options: DropDesignDocumentOptions

      Optional parameters for this operation.

    • Optional callback: NodeCallback<void>

      A node-style callback to be invoked after execution.

    Returns Promise<void>

    Deprecated

  • Drops an existing design document.

    Parameters

    Returns Promise<void>

  • Returns the specified design document.

    Parameters

    Returns Promise<DesignDocument>

    Deprecated

  • Returns the specified design document.

    Parameters

    Returns Promise<DesignDocument>

  • Publishes a development design document to be a production design document. It does this by fetching the design document by the passed name with dev_ appended, and then performs an upsert of the production name (no dev_) with the data which was just fetched.

    Parameters

    • designDocName: string

      The name of the design document to publish.

    • Optional options: PublishDesignDocumentOptions

      Optional parameters for this operation.

    • Optional callback: NodeCallback<void>

      A node-style callback to be invoked after execution.

    Returns Promise<void>

  • Creates or updates a design document.

    Parameters

    Returns Promise<void>

    Deprecated

  • Creates or updates a design document.

    Parameters

    Returns Promise<void>

Generated using TypeDoc