sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

fix: use Executor::fetch in QueryAs::fetch

Open bobozaur opened this issue 8 months ago • 0 comments

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 avatar Jun 06 '25 07:06 bobozaur