mora
mora copied to clipboard
len(data)=0 when I set skip=1 and limit=1
curl 'http://****?skip=1&limit=1'
response : { "success": true, "data": [] }
change limit =2 , the resoponse is ok .
looks like : limit=1, skip >= 1 , empty limit = 1, skip = 0 , ok limit > 1, ok
I find len(iter.docData)=0 and iter.err = "not found"
thank you for reporting this. I haven't looked at this app for a while. Could you make a fix for it?
https://github.com/globalsign/mgo/issues/267
he encountered the same problem.