Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1011 Bytes

collections.adoc

File metadata and controls

33 lines (23 loc) · 1011 Bytes

Collections & Scope

project-docs:partial$attributes.adoc

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

  • Please see the Collections Overview documents in the Server docs.

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