Documentation
¶
Overview ¶
manage rows of a table
Index ¶
- type Keys
- type Row
- func (r Row) InsertStatement(table_name string)
- func (r Row) IsEmpty() bool
- func (r *Row) Merge(r2 Row)
- func (r Row) Print()
- func (r *Row) SetCmdLine(name string)
- func (r *Row) SetDynamic(name string)
- func (r *Row) SetOptionFile(name string)
- func (r *Row) SetSystemVar(name string)
- func (r *Row) SetSystemVariableName(name string)
- func (r *Row) SetVarScope(name string)
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
func (Row) InsertStatement ¶
func (*Row) SetCmdLine ¶
func (*Row) SetDynamic ¶
func (*Row) SetOptionFile ¶
func (*Row) SetSystemVar ¶
func (*Row) SetSystemVariableName ¶
func (*Row) SetVarScope ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) AppendRow ¶
AppendRow Appends a row to the table if the variable name has not been seen. If it has then it will check if the values are the identical and do nothing.
func (Table) CreateTableStatement ¶
func (t Table) CreateTableStatement()
generate a create table statement, currently hard-coded
func (Table) InsertStatements ¶
func (t Table) InsertStatements()
create the INSERT statements for the rows in the table
func (Table) MysqlDump ¶
func (t Table) MysqlDump()
Generate the equivalent of a mysqldump <db> <table>.
func (Table) MysqlDumpFromSysvars ¶
do a mysql dump from the collected sysvar info
Click to show internal directories.
Click to hide internal directories.