We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is it possible to paginate with an expression-based cursor field?
I want to use a custom order by with array_position: https://stackoverflow.com/questions/4088532/custom-order-by-explanation
array_position
It looks like currently the cursor_fields have to be an actual field in the schema:
paginator/lib/paginator.ex
Line 189 in ebb6078
The text was updated successfully, but these errors were encountered:
Hi @axelson, maybe you are looking for something like this: #60
Sorry, something went wrong.
Thanks! Yes that does look like it'll work for what I'm trying to do.
No branches or pull requests
Is it possible to paginate with an expression-based cursor field?
I want to use a custom order by with
array_position
: https://stackoverflow.com/questions/4088532/custom-order-by-explanationIt looks like currently the cursor_fields have to be an actual field in the schema:
paginator/lib/paginator.ex
Line 189 in ebb6078
The text was updated successfully, but these errors were encountered: