KyselyK
Kysely3y ago
5 replies
tzezar

What is easiest way to get count alongside data for pagination?

I am running second query with raw sql
SELECT COUNT(id) from table_name
. is this legit?
Solution
Here's one reusable way to get that done https://kyse.link/?p=s&i=5f2hXebbbH4P0VlNuShk
Was this page helpful?