When I tried
Query = {country, <<"US">>}, mongo:find(Col, { '$query', Query, '$orderby', {last_seen, -1} }, Projector, 0, 15),
The cursor returned is not limited to batch size 15 any more. It will return all the results in cursor. However, if I change it to
mongo:find(Col, Query, Projector, 0, 15),
It will return the cursor with 15 in size.
Is this a bug or I did anything wrong?
It works for me on example below