Spraypaint the isomorphic, framework-agnostic Graphiti ORM

Pagination

Use #per() to set the limit per page:

Post.per(10).all()

/posts?page[size]=10

Use #page() to set the current page:

Post.page(5).all()

/posts?page[number]=5

When chained together (10 per page, the 5th page):

Post.page(5).per(10).all()

/posts?page[size]=10&page[number]=5