Le 22/09/16 à 14:18, Richard Sand a écrit :
> Ok, what is the proper technique then?

always pull at least one element than the number you can store in one
page : that will tell you if you will have a next page or not.

This save CPU on the server, a lot of CPU. Actually, getting the number
of results beforhand results in doing the request twice, more or less
(for servers that handle such things).

Reply via email to