Error types with custom schema
Hi, I'm trying to do a general function to paginate my querys, but I'm having some problems with the types.
I'm trying to use the types of the library, but I'm not sure if I'm doing it right.
All my tables have the same columns, so I created a function to create the base table, and I'm trying to use it to create the pagination function,
and definitly i'm doing it wrong but I'm not shure how to do it, could you point me in the right direction? to know if it's possible to do it.
2 Replies
I'm trying to do something like this now but still dosen't work
How do you want to execute your function?
could you write a small usage example (it can be without implementation)
just how you want to use it