Expand description
Transactional trait implementation for DatabaseHandler.
Provides DieselTransaction, a scoped connection wrapper that issues
BEGIN on construction and ROLLBACK on drop unless explicitly committed.
Structsยง
- Diesel
Transaction - A scoped database transaction. Holds a pooled connection with an active
BEGIN. Commits explicitly via
.commit(), rolls back on drop otherwise.