Nauxscript
DTDrizzle Team
•Created by Nauxscript on 11/28/2023 in #help
how to encapsulate a general pagination function
I am looking to create a generalized pagination function to simplify the implementation of APIs with pagination capabilities. Here's the code I'm currently using:
However, I'm encountering an issue where the type of
res
is lost.
Is there a way to ensure that the result maintains the original table column types?2 replies