I know that you can pass a key or range to return entries in CouchDB, but I want to do something like this. Find the X entries that are the X values.
So, for example, in regular SQL, let's say I wanted to return records with identifiers that are 5, 7, 29, 102. I would do something like this:
SELECT * FROM sometable WHERE id = 5 OR id = 7 or id = 29 or id = 102
Is it possible to do this in CouchDB, where I drop all the values that I want to find in the key array, and then CouchDB looks for all those entries that can exist in the "key parameter"?
source
share