database/middleware library

Functions

transactionMiddleware() Middleware
A middleware that wraps the entire request lifecycle in a database transaction.