Skip to content

Does Pagy::Keyset support AR relations ordered with SQL string expressions? #740

Answered by ddnexus
thomascchen asked this question in Q&A
Discussion options

You must be logged in to vote

Not out of the box ATM

A simple (for us) way of doing it, would require a new feature that we should be able to add easily, and your custom query, run inside an :after_latest lambda.

Another way would be supporting it natively, but it would probably complicate the code quite a bit.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ddnexus
Comment options

@thomascchen
Comment options

Answer selected by thomascchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants