Re:Why use Rust on the back end?
by weiznich on Tuesday March 21, 2023 @03:15AM
(#35243335)
Just using a transaction that will be rolled back after each test case is exactly what diesel suggests. There is a separate function for this on diesels connection trait[1]
[1]: https://docs.diesel.rs/2.0.x/diesel/connection/trait.Connect...