Documentation ¶
Index ¶
- type Mysql
- func (m *Mysql) GetTableImage(table string, args ...interface{}) (contract.Image, error)
- func (m *Mysql) GetTableRowsCount(table string) (int64, error)
- func (m *Mysql) InstallImage(image contract.Image) error
- func (m *Mysql) Rollback() error
- func (m *Mysql) SetClearMethod(method int) contract.Installer
- func (m *Mysql) WithTransaction() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mysql ¶
type Mysql struct {
// contains filtered or unexported fields
}
Mysql - install image to MySQL
func GetInstallerMysql ¶
func GetInstallerMysql(config contract.InstallerConfig) (*Mysql, error)
GetInstallerMysql - installer instance
func (*Mysql) GetTableImage ¶
GetTableImage - table to Image
func (*Mysql) GetTableRowsCount ¶
GetTableRowsCount - table rows count
func (*Mysql) InstallImage ¶
InstallImage - install Image
func (*Mysql) SetClearMethod ¶
SetClearMethod - rewrite clear method
func (*Mysql) WithTransaction ¶
WithTransaction - start transaction
Click to show internal directories.
Click to hide internal directories.