Skip to content

fix: use Executor::fetch in QueryAs::fetch #3886

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bobozaur
Copy link
Contributor

@bobozaur bobozaur commented Jun 6, 2025

Does your PR solve an issue?

Not that I could find. Though it addresses a FIXME comment in the code.

Is this a breaking change?

It is a breaking change, though this seems like it was an oversight which has been lingering along the codebase. The QueryAs::fetch method was probably never intended to allow multi-statement queries. Doing this now since 0.9.0 seems to be the next SQLx version.

@bobozaur bobozaur force-pushed the fix_query_as_fetch branch from c73c29a to 76274cc Compare June 6, 2025 07:22
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.

1 participant