Is it possible to extract order by clauses / filter clauses / selected columns from a SelectStatement? #221
Unanswered
vamshiaruru-virgodesigns
asked this question in
Q&A
Replies: 1 comment
-
Hi @vamshiaruru-virgodesigns , |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, like the title says, given a SelectStatement? The usecase is that I want to implement keyset/cursor based pagination. Ideally, I want to append the new order by clauses and where clauses that the keyset pagination requires, but if a query already has an order by clause / where clause set, adding a new order by / whereseems to overwrite the previous order by / where by. So I was thinking if I can find what order by/ where clauses the query has, I can create a new order by/where clause by appending the keyset clauses to the existing ones.
Also, are you guys aware of any keyset pagination implementations that use jet?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions