Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
*revel.Controller
Txn *gorp.Transaction
Db *gorp.DbGorp
}
Controller definition for database transaction This controller is only useful if you intend to use the database instance defined in github.com/revel/modules/orm/gorp/app.Db
func (*Controller) Rollback ¶
func (c *Controller) Rollback() revel.Result
Rollback if it's still going (must have panicked).
Click to show internal directories.
Click to hide internal directories.