A newer version of this documentation is available.

View Latest

Collections and Scopes

  • concept
    +
    Fully supported in Couchbase Server 7.0.

    The Collections feature in Couchbase Server is fully implemented in the 3.2 API version of the Couchbase SDK.

    Information on Collections can be found in the server docs.

    Using Collections & Scope

    Access a non-default collection, in the default scope, with:

    bucket.collection("flights")

    And for a non-default scope:

    bucket.scope("marlowe_agency").collection("flights")

    Further Reading