I have following sample JSON.
{
“City”: {
“Type”: “PRIME”,
“areas”: [“A”, “B”]
},
“X1”: “3700”,
“X2”: “3800”,
“Cat”: “VIP”
}
I want to retrieve all documents having area = A, Priority between X1 and X2 and Cat = “VIP”.
How to do that using couchbase node js client?
This is quite straight forward in CouchDb, looks complex in Couchbase.
Thanks,
Mangesh Sawant.