sqlx
sqlx copied to clipboard
Patched out forcing references in query arguments
Is this a breaking change?
This is a breaking change, it makes arguments no longer forced to be references. Users will have to manually reference their arguments.
Reasoning
This allows returning owned values as part of outputs, such as a function that outputs a stream from a fetch call can have values that are passed to that function as args.
We are already using this patch in our large codebase as it allows for optimized returns for streams.