I have the following array:
array(3) { [0]=> string(8) "xp is 20" [1]=> string(19) "level between 9, 50" [2]=> string(20) "cars between 100,200" }
First is field than is operator and after is the value searched for. My view is as follows:
function (doc) { emit([doc.data.xp, doc.data.level, doc.data.cars]) }
Basically I want to search for key xp equal to 20 AND level between 9 AND 50 AND cars BETWEEN 100 AND 200.
Can I do that in Couchbase and if so, how?