daleharvey/pouchdb — pull request #1203 by nolanlawson (2014-01-02 23:21:14+00:00)
Title: (#1199) - query() supports keys

The query() function now supports keys as an input param.
Keys are hashed in advance, to ensure that the complexity
is O(n) rather than O(n * m), where n is numDocs and m
is numKeys.

Since there are a lot of edge cases for null/undefined/etc.,
I'm also adding unit tests to daleharvey/pouchdb, which
confirm that the functionality is exactly like CouchDB's.