Collections and Scopes
Fully supported in Couchbase Server 7.0.
The Collections feature in Couchbase Server 7.0 is fully implemented in the Scala SDK version 1.2.
Please see the Scopes and Collections page in the Server docs.
Access a non-default collection, in the default scope, with:
collection = bucket.collection("bookings") // in default scope
And for a non-default scope:
collection = bucket.scope("tenant_agent_00").collection("bookings")
To see Collections in action, take a look at our Collections-enabled Travel Sample page.