queries to views with a reduce function should default to reduce=true #37

Closed
mschoch opened this Issue Jun 26, 2012 · 1 comment

1 participant

@mschoch
couchbaselabs member

Ektorp relies on the fact that views with a reduce function will default to reduce=true behavior. Since they only send the parameter when you specify reduce=false its currently impossible to trigger the reduce behavior.

@mschoch
couchbaselabs member
@mschoch mschoch closed this Jun 26, 2012
@yaronyg yaronyg pushed a commit to thaliproject/couchbase-lite-android that referenced this issue Jun 19, 2014
@mschoch mschoch changed default behavior of TDRouter to more closely match CouchDB
if a view has a reduce function, the default value for reduce=true
if you do not want to reduce, you must explicitly pass reduce=false

couchbaselabs/TouchDB-Android#37
3db2115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment