Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Flags ¶
type Flags struct {
Compress bool // Compress and save the output
CronJob bool // Run in an automated mode
Parallel bool // Run --table=all queries in parallel
Save bool // Save the output uncompressed
Table Table // Table of the database to use
Method Method // Method to export
Tables string // --table flag result
Type string // Type of export (create|update)
Version string // df2 app version pass-through
Limit uint // Limit the number of records
}
Flags are command line arguments.
func (*Flags) ExportTable ¶
ExportTable saves or prints a MySQL 5.7 compatible SQL import table statement.
Click to show internal directories.
Click to hide internal directories.