sqlx
sqlx copied to clipboard
fix: use Executor::fetch in QueryAs::fetch
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.