#Using an offset with pagination in the local API?

3 messages · Page 1 of 1 (latest)

somber moon
#

I couldn't find anything like this in the docs but I would expect this to be a standard feature when fetching rows from the database.

Basically I want to have a server component that grabs the latest 4 articles from the CMS and another that grabs and paginates the remaining posts.

The first call would use a limit of 4 and the rest would use a limit of 12 with an offset of 4 and paginates the rest, but it doesn't seem that Payload supports offsets?

maiden moonBOT
somber moon
#

bump