I've been trying to use multiple keys in Cradle for a good time, I'm almost giving up since I can't find help anywhere.
I use this query with an HTTP request and it brings me results
gps_map/_design/carros/_view/teste?startkey=[353451044986295]&endkey=[353451044986296,{}]&limit=50
But I can't realize how do I use Cradle to reach the same results, I've tried
var car = 353451044986295;
db.view('carros/teste',{limit:50,startkey:[car],endkey:[car,{}]},function(err,res)
and
var car = 353451044986295;
db.view('carros/teste',{limit:50,startkey:'['+car+']',endkey:'['+car+',{}]'},function(err,res)
and have no success, there's no result. How do I use multiple keys in Cradle?