Support Topics Documentation Slack YouTube Blog

Get the most recent n data objects

(MItchell) #1

Hi Team,

Trying to retrieve the most recent 60 data objects in a table. Is there a function similar to findFirst where I can easily retrieve the first 60 objects?

If I need to do manual paging, does it start paging from the older records to the newest? Or the newest records to the oldest?


(Vladimir Upirov) #2

Hi Mitchell
You can do that with “sortBy” property, just specify a sort property and a sort direction
Here is a doc for REST
but you can find the same for any SDK

(MItchell) #3

Thanks Vlad, much appreciated