This module configures a database connection for the application.
Developers use this module by importing and calling db.Init(). A "Transactional" controller type is provided as a way to import interceptors that manage the transaction
In particular, a transaction is begun before each request and committed on success. If a panic occurred during the request, the transaction is rolled back. (The application may also roll the transaction back itself.)
This section is empty.
type Transactional ¶
Commit the transaction.