generic

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSqlDumper

func NewSqlDumper(rdr reader.Reader, engine SqlEngine) dumper.Dumper

Types

type SqlEngine

type SqlEngine interface {
	DumpStructure(sql string) error

	DumpTable(tableName string, rowChan <-chan database.Row) error

	// Close closes the dumper resources and releases them.
	Close() error
}

type SqlEngineAdvanced

type SqlEngineAdvanced interface {
	PreDumpTables([]string) error
	PostDumpTables([]string) error
}

Jump to

Keyboard shortcuts

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