Skip to content

Function ForPageAfterId

for page after id correctly paginates

typescript
await FedacoTestUser.createQuery().create({
  id: 1,
  email: 'linbolen@gradii.com'
});
await FedacoTestUser.createQuery().create({
  id: 2,
  email: 'xsilen@gradii.com'
});
let results = await FedacoTestUser.createQuery().forPageAfterId(15, 1);
ReferenceLooks LikeValue
(await results.first()).idmatch2
ReferenceLooks LikeValue
resultsinstance type exactly matchFedacoBuilder
(await results.first()).idmatch2

see also prerequisites

Released under the MIT License.