API with NestJS #155. Offset and keyset pagination with the Drizzle ORM
Briefly

A common solution is to divide data into smaller chunks, presenting it to the user as infinite scrolling or multiple pages. We also compare different pagination methods and their impact on performance.
Maintaining a consistent order of rows when navigating through different pages of data is essential to avoid skipping some rows or displaying them more than once.
Counting the rows in the database within the same transaction as the query that fetches the data is crucial. Thanks to that, we ensure that our results remain consistent.
Read at Marcin Wanago Blog - JavaScript, both frontend and backend
[
]
[
|
]