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
…when include_docs=false (as in a reduce), the Class<T> classOfT is applied to the entire row {key: …, value: …}, not just the value. This probably should be documented.
Got bit by this by switching a view from reduce=false&include_docs=true to reduce=true&include_docs=false and the query no longer worked, even though the Class used should have been sufficient.
The text was updated successfully, but these errors were encountered:
Looking at https://github.com/lightcouch/LightCouch/blob/master/src/main/java/org/lightcouch/View.java#L162
…when
include_docs=false
(as in a reduce), theClass<T> classOfT
is applied to the entire row{key: …, value: …}
, not just the value. This probably should be documented.Got bit by this by switching a view from
reduce=false&include_docs=true
toreduce=true&include_docs=false
and the query no longer worked, even though the Class used should have been sufficient.The text was updated successfully, but these errors were encountered: