Skip to content

Conversation

@michaelcaulley
Copy link
Owner

@michaelcaulley michaelcaulley commented Apr 9, 2025

The generated SQL for cursor-based pagination was not properly considering that null values were possible in the field being used for ordering.

This fix works only for SQL databases that order NULLs first for ASC and last for DESC

ent/ent#4059

NOTE: This shouldn't be merged into the upstream repository. These changes will only work for certain SQL dialects.

the generated SQL for cursor based pagination was not properly
considering that null values were possible. this fix works only for
SQL databases that order NULLs first for ASC and last for DESC

ent/ent#4059
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants