Given these map results K, V:

["plane", "Bob"], "airbus"
["plane", "Alice"], "fast jet"
["boat", "Alice"], "inspector 1"
["boat", "Bob"], "super yacht 2000"
["boat", "Bob"], "super yacht 2001"
["car", "John"], "mercedes"
["car", "Bob"], "toyota"

where K = [vehicle, owner] and V = name

How can I search by the vehicle ONLY and match all owners?

I have been trying these parameters

key="plane"
keys=["plane"]
startkey=["plane"]&endkey=["plane"]

None of them seem to work as desired.  I have got somewhat working by 
specifying *just* startkey=["car"].
But that includes all of them since "plane" > "car".

I guess what I am asking is, is there a wildcard character when doing a 
query?  Something like this?

startkey=["plane", "*"]&endkey=["plane", "*"]

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to