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

Remove unneeded query #1442

Merged
merged 2 commits into from
Oct 12, 2021
Merged

Remove unneeded query #1442

merged 2 commits into from
Oct 12, 2021

Conversation

rolisz
Copy link
Contributor

@rolisz rolisz commented Jul 8, 2021

Bulk create returns the created objects in the same order as they have been added.

In Postgres, the query was wrong, because ordering was not guaranteed and sometimes it returned the ids in the wrong order than they were inserted.

This is a simpler fix for #1432, without requiring changes to the model.

Bulk create returns the created objects in the same order as they have been added.

In Postgres, the query was wrong, because ordering was not guaranteed.
@zanussbaum
Copy link
Contributor

Does this work also when exporting the data? I know that there's a filter statement to get the data, but we filter based on project_id. Curious if this issue would still occur.

@rolisz
Copy link
Contributor Author

rolisz commented Jul 10, 2021 via email

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.

None yet

3 participants