Details
-
Bug
-
Resolution: Fixed
-
Major
-
sdk-3.0-backlog
-
None
Description
It has been observed that the code snippets (first line) are missing the method definition in the documentation page: "Java SDK Learn Collections & Scope" at below URL:
https://docs.couchbase.com/java-sdk/current/concept-docs/collections.html
In the first snippet, the below highlighted first line seems missing.
* public void collections_1() throws Exception {* |
collection = bucket.collection("flights"); // in default scope |
// #end::collections_1[]; |
}
|
In the 2nd snippet, the below highlighted first line seems missing.
* public void collections_2() throws Exception {* |
collection = bucket.scope("marlowe_agency").collection("flights"); |
// #end::collections_2[]; |
}
|