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

Allow MyXQL to specify :prepare per operation. #650

Merged
merged 12 commits into from
Jan 3, 2025

Conversation

greg-rychlewski
Copy link
Member

This is based on the issue we received in MyXQL about the number of prepared statements growing out of control because of GraphQL type queries.

We already let Postgres specify this option (see here).

I don't remember exactly why we limited to just Postgres. I think it was because we had a strong reason for it (to bypass the generic query plan Postgres creates for prepared statements) and we didn't want to hijack the option names for other adapters. We have a pretty good reason to add it for MyXQL now. WDYT?

@greg-rychlewski greg-rychlewski merged commit 802914d into elixir-ecto:master Jan 3, 2025
11 checks passed
@greg-rychlewski greg-rychlewski deleted the myxql_prepared branch January 3, 2025 12:46
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