Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
https://docs.couchbase.com/go-sdk/2.1/howtos/subdocument-operations.html#retrieving
Documentation for using ExistsSpec is incorrect. We have examples that show to use ContentAt to retrieve the result which will actually throw/return an error if the path doesn't exist. We need to be more clear about this and update the examples to use the Exists function for SDKs that follow this behaviour (there is a slight difference in behaviour across the SDKs).
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
[https://docs.couchbase.com/go-sdk/2.1/howtos/subdocument-operations.html#retrieving]
Documentation for using ExistsSpec is incorrect. We have examples that show to use ContentAt to retrieve the result which will actually throw/return an error if the path doesn't exist. We need to be more clear about this and update the examples to use the Exists function. This seems to be the case cross SDK other than Scala. |
[https://docs.couchbase.com/go-sdk/2.1/howtos/subdocument-operations.html#retrieving]
Documentation for using ExistsSpec is incorrect. We have examples that show to use ContentAt to retrieve the result which will actually throw/return an error if the path doesn't exist. We need to be more clear about this and update the examples to use the Exists function for SDKs that follow this behaviour (there is a slight difference in behaviour across the SDKs). |
Component/s | server dev guide and SDKs [ 11814 ] | |
Page URL | https://docs.couchbase.com/java-sdk/3.0/howtos/subdocument-operations.html#retrieving | |
Sprint |
|
|
Story Points | 1 | 2 |
Labels | subdoc |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |