Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToSQL ¶ added in v1.0.0
Types ¶
type ConvertOptions ¶ added in v1.0.0
type ConvertOptions struct { // If nil, all tables will be converted. If a table is specified here but is not present on the dump, no error will be returned Tables []string }
type Dumper ¶
type Dumper struct {
// contains filtered or unexported fields
}
Dumper represents a database.
func (*Dumper) Dump ¶
Dump dumps one or more tables from a database into a writer. If dbName is not empty, a "USE xxx" command will be sent prior to commencing the dump.
func (*Dumper) DumpAllTables ¶ added in v1.0.0
DumpAllTables dumps all tables in a database into a writer If dbName is not empty, a "USE xxx" command will be sent prior to commencing the dump.
Click to show internal directories.
Click to hide internal directories.