> 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

Reply via email to