i have a data query function at the backend with limit(4) as an example that returns the results.
when I want to get the next page with results.next().then.... It says next() isnt a function.
as long as I declare the data query function on page code it works perfectly.
Can anybody explain why and give a solution ?