table_dumper

package
v0.0.0-...-9f91e3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2018 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	HasBackupLock() bool
	TableColumnType(string, int) string
}

type Dumper

type Dumper struct {
	// contains filtered or unexported fields
}

func NewTableDumper

func NewTableDumper(dsn, tableName string, config Config) *Dumper

func (*Dumper) Run

func (d *Dumper) Run(w io.Writer, conn *sqlx.DB) (stats, error)

func (*Dumper) WithHeader

func (d *Dumper) WithHeader(withHeader bool) *Dumper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL