couchbase-analytics
    Preparing search index...

    Class Database

    Volatile: This API is subject to change at any time.

    Exposes the operations which are available to be performed against a database. Namely, the ability to access to Scopes as well as performing management operations against the database.

    Index

    Accessors

    Methods

    Accessors

    • get name(): string

      The name of the database this Database object references.

      Returns string

    Methods

    • Creates a Scope object reference to a specific scope.

      Parameters

      • scopeName: string

        The name of the scope to reference.

      Returns Scope