nosql - CouchDB filtering on key array -


given couchdb view emits this:

emit([doc.name, doc.date], doc) 

how filter on multiple doc.name values? below doesn't seem work.

keys=[["name1",{}],["name2",{}],["name3",{}]] 

when specify keys parameter, specifying exact match. assuming want range query (every document name="name1" no matter date) need query startkey , endkey:

?startkey=["name1", ""]&endkey=["name1", {}] 

and have repeat query each name.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -