Expand description
A transaction runner for diesel
Structs§
- Diesel
Context - diesel transaction object.
- With
Conn - The result of
with_conn
Functions§
- run
- run the given function insed a transaction using the given connection.
- test_
run - run the given function insed a transaction using the given connection but do not commit it. Panics if the given function returns an Err. This is usefull for testing
- with_
conn - Receive the connection from the executing transaction and perform computation.