This was exactly what I was looking for, to get me started with infinite scrolling.
Mitja Debeljak
12

Aah that is easy.

It should be WHERE ID<after.

But in this case, the first value of after should be the max value that you have for ID field + 1.

In my example used for the document, the initial value for after was space and in the resolve I make the initial value 0

Show your support

Clapping shows how much you appreciated Gethyl George Kurian’s story.