sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

Streaming read result

Open tisonkun opened this issue 8 months ago • 0 comments

I have found these related issues/pull requests

Currently, all the query* methods take local reference and thus even if we build a Stream with fetch, it must be collected in place, rather than be possible to return from the function.

Description

As above. To support streaming read result later, the lifetime bound shoudl be relaxed, e.g., accepting String.

Prefered solution

As described above.

Is this a breaking change? Why or why not?

I don't know.

tisonkun avatar Jun 06 '25 10:06 tisonkun