Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Many small queries are efficient in SQLite. Parent comment
To span a transaction over two functions, it has to be assigned to some variable and the lifetime of this variable is tracked by the compiler.
[1] https://docs.rs/sqlx/0.3.0/sqlx/struct.Transaction.html
There are no comments on this comment yet.
To span a transaction over two functions, it has to be assigned to some variable and the lifetime of this variable is tracked by the compiler.
[1] https://docs.rs/sqlx/0.3.0/sqlx/struct.Transaction.html