Collections and Scopes

  • concept
    +
    Fully supported in Couchbase Server 7.x

    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 & Scopes

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

    Unresolved include directive in modules/concept-docs/pages/collections.adoc - include::example$CollectionsExample.java[]

    And for a non-default scope:

    Unresolved include directive in modules/concept-docs/pages/collections.adoc - include::example$CollectionsExample.java[]

    Further Reading

    To see Collections in action, take a look at our Collections-enabled Travel Sample page.