and then I could get the document directly from the result rows.
Switching to SDK 3 I can’t find this option on the ViewOptions and the value of the ViewRow is always empty.
Is this option removed? Couldn’t find anything about it in the migration guide.
This confirms to me Im not completely crazy
I solved it by fetching the document by the id.
(still a little confused about why the value property is there at all - is there a case when it is not empty? maybe if you emit the document from the view?)
(still a little confused about why the value property is there at all - is there a case when it is not empty? maybe if you emit the document from the view?)
The row value comes from the second argument to the emit function (which can be null). See Map Function | Couchbase Docs