helper

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(dns string, opts ...DumpOption) error

func Source

func Source(dns string, reader io.Reader, opts ...SourceOption) error

Types

type DumpOption

type DumpOption func(*dumpOption)

func WithAllTable

func WithAllTable() DumpOption

func WithData

func WithData() DumpOption

func WithDropTable

func WithDropTable() DumpOption

func WithTables

func WithTables(tables ...string) DumpOption

func WithWriter

func WithWriter(writer io.Writer) DumpOption

type SourceOption

type SourceOption func(*sourceOption)

func WithDebug

func WithDebug() SourceOption

func WithDryRun

func WithDryRun() SourceOption

func WithMergeInsert

func WithMergeInsert(size int) SourceOption

Jump to

Keyboard shortcuts

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