Hi
I’m trying to query the following view:
function (doc, meta) {
if(doc.theCollection==“personal_record”) {
emit([doc.userId,doc.torusId,doc.score,doc.nMoves,doc.packId,doc.userName], null);
}
}
I’d query based on range and fixing only the first two parameters like this:
startKey = [“myuserId”,“myTorusId”,0,0,“”,“”] endKey =[“myuserId”,“myTorusId”,999,999,“~”,“~”]
but the view returns nothing, when I know at least a document starting with these keys exists
what am I missing in passing start and end keys?