Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 12: SQL pagination of invoices is non-deterministic and doesn't show all invoices #532

Open
esadler44 opened this issue Dec 28, 2023 · 1 comment

Comments

@esadler44
Copy link

When creating new invoices, we truncate the Date to remove the timestamp resulting in all new invoices to have an identical value in our SQL database

When the invoices are then fetched, ordered, and limited to be displayed in a table, SQL does not have enough data to guarantee a unique ordering

@esadler44 esadler44 changed the title Chapter 12: Fix non-deterministic invoice fetches Chapter 12: SQL pagination of invoices is non-deterministic and doesn't show all invoices Dec 28, 2023
@esadler44
Copy link
Author

Fixed in #531

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

No branches or pull requests

1 participant