Crate transaction_diesel [−] [src]
A transaction runner for diesel
Structs
DieselContext |
diesel transaction object. |
WithConn |
The result of |
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. |