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
This may seem like a micro-optimisation, but establishing transactions with calls similar to this, causes two statements to be submitted to the DB where one would suffice:
Description
This may seem like a micro-optimisation, but establishing transactions with calls similar to this, causes two statements to be submitted to the DB where one would suffice:
And where the DB is remote, the time delay can be considerable - 27ms per statement due to the RTT:
Solution would be to re-code this function to write the singular statement:
https://github.com/SeaQL/sea-orm/blob/master/src/driver/sqlx_postgres.rs#L267-L291
Version:
SeaORM all versions
The text was updated successfully, but these errors were encountered: