OFFSET
For more details check Check SOQL API - OFFSET.
NOTE! 🚨 All examples use inline queries built with the SOQL Lib Query Builder. If you are using a selector, replace
SOQL.of(...)
withYourSelectorName.query()
.
Specify the maximum number of rows to return.
SOQL
SELECT Id
FROM Account
OFFSET 10
SOQL Lib
SOQL.of(Account.SObjectType)
.setOffset(10)
.toList();