You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
…when include_docs=false (as in a reduce), the Class classOfT is applied to the entire row {key: …, value: …}, not just the value. This probably should be documented.
The text was updated successfully, but these errors were encountered:
srl295
changed the title
upstream: improve docs for View.query()
lightcouch: improve docs for View.query()
Aug 22, 2016
Thanks for the headsup @srl295 but we don't consume lightcouch from upstream and we've diverged quite a bit, we don't have a lightcouch style view query since 2.0.
The view code in java-cloudant 2.x is parameterized by <K> key and <V> value classes. So we always treat the values separately as type V.
We have a convenience method on a ViewRequest for retrieving a single reduce result:
If using include docs then the types of the row key and value are independent of the document type which is supplied as a class parameterized by <D> for example when calling:
FYI lightcouch/LightCouch#60
The text was updated successfully, but these errors were encountered: