database
database copied to clipboard
cursor before logic
Summary by CodeRabbit
-
Refactor
- Simplified pagination and ordering logic for database queries by removing cursor direction handling.
- Improved consistency in how order types are set and managed during paginated searches.
-
Bug Fixes
- Enhanced error checking for cursor-based pagination to ensure all order attributes have valid values.
End-users may notice more predictable and streamlined behavior when using paginated database queries. No changes to the overall interface or functionality are required on your part.