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

[Feature] Simpler query for simple updates #390

Open
marcj opened this issue Dec 2, 2022 · 0 comments
Open

[Feature] Simpler query for simple updates #390

marcj opened this issue Dec 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@marcj
Copy link
Member

marcj commented Dec 2, 2022

For unit of work changes we apply a SQL CTE update technique to update very fast lots of changed entities. This is fast for lots of rows at the cost of complexity (which is fine since deepkit is designed for heavy workloads), but has an too big costs on very simple updates. Thus, we should add a simple UPDATE x SET y for small unit of work change sets (probably n < 2).

@marcj marcj added the enhancement New feature or request label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant