Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages database.
func (*Manager) Transaction ¶
func (m *Manager) Transaction(ctx context.Context, fn TransactionalExecutable) (err error)
Transaction begins transaction with given context.
type SQLBuffer ¶
type SQLBuffer struct { Entries []Entry Logger *log.Logger // contains filtered or unexported fields }
SQLBuffer records queries.
type TransactionalExecutable ¶
type TransactionalExecutable func(context.Context, boil.ContextTransactor) error
TransactionalExecutable represents a callback function.
Click to show internal directories.
Click to hide internal directories.