You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes #3687
Relates to #1736 (same but for MySQL and MsSQL).
Description
Hello,
I need to reuse the PgArguments in retry loops with query_with.
While this is possible with MySQL and MsSql thanks to #1736, it is currently not possible in PostgreSql.
Prefered solution
In my use case, I have a written a macro crate on top of sqlx to generate DML methods using derive directives.
It is similar to anorm and anorm-macros but using a more recent version of Sqlx.
Specifically on PostgresSql, Clone is missing from the PgArguments.
I've proposed a PR to implement this change here: #3687
Is this a breaking change? Why or why not?
It is not a breaking change as it does not modify the behaviour of PgArguments. It only adds the Clone capability to it.
The text was updated successfully, but these errors were encountered:
I have found these related issues/pull requests
Closes #3687
Relates to #1736 (same but for MySQL and MsSQL).
Description
Hello,
I need to reuse the PgArguments in retry loops with query_with.
While this is possible with MySQL and MsSql thanks to #1736, it is currently not possible in PostgreSql.
Prefered solution
In my use case, I have a written a macro crate on top of sqlx to generate DML methods using derive directives.
It is similar to anorm and anorm-macros but using a more recent version of Sqlx.
Specifically on PostgresSql, Clone is missing from the PgArguments.
I've proposed a PR to implement this change here: #3687
Is this a breaking change? Why or why not?
It is not a breaking change as it does not modify the behaviour of PgArguments. It only adds the Clone capability to it.
The text was updated successfully, but these errors were encountered: