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

entgql: avoid using cte queries for single node paths #569

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

a8m
Copy link
Member

@a8m a8m commented Apr 4, 2024

No need to limit per node, when a single node is returned in a path.

I can't share the query publicly, but out internal queries were improved from 400ms to 15ms (on MySQL 8.3).
image
image

No need to limit per node, when a single node is returned in a path
@a8m a8m requested review from giautm and masseelch April 4, 2024 20:43
@a8m a8m merged commit 37281ef into master Apr 4, 2024
4 checks passed
@a8m a8m deleted the simplifyquery branch April 4, 2024 20:46
skeletal pushed a commit to netfira/fork-entgo.io-contrib that referenced this pull request May 9, 2024
No need to limit per node, when a single node is returned in a path
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