helper

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 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