couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Carey" <paul.p.ca...@gmail.com>
Subject Re: 0.9.0 Release
Date Sun, 21 Dec 2008 00:07:42 GMT
> Also, some people have complaints about the programmatic interfaces for
> map/reduce/rereduce functionality. If anyone wants to change these, or any
> other major aspects of CouchDB interfaces, now is the time. It only gets
> harder as we move forward.
>
> Feedback please.

It's only a minor point, but neither startkey_docid nor endkey_docid
may be JSON encoded.

Given that
i) doc ids are strings
ii) values passed to key, startkey and endkey must be JSON encoded
iii) it's not untypical to pass a (JSON encoded) id to key, startkey or endkey
it seems vaguely gratuitous that startkey_docid and endkey_docid may
not be JSON encoded.

I'd suggest requiring - for consistency with the other params - that
the ids passed to startkey_docid and endkey_docid must be JSON
encoded.

Paul

Mime
View raw message