Versions in this module Expand all Collapse all v0 v0.0.2 Jul 4, 2023 v0.0.1 Jul 4, 2023 Changes in this version + func ClickhouseUseDeleteFrom() func(*Loader) error + func DangerousSkipCleanupFixtureTables() func(*Loader) error + func DangerousSkipTestDatabaseCheck() func(*Loader) error + func Database(db *sql.DB) func(*Loader) error + func Dialect(dialect string) func(*Loader) error + func Directory(dir string) func(*Loader) error + func DumpDatabase(db *sql.DB) func(*Dumper) error + func DumpDialect(dialect string) func(*Dumper) error + func DumpDirectory(dir string) func(*Dumper) error + func DumpTables(tables ...string) func(*Dumper) error + func FS(fs fs.FS) func(*Loader) error + func Files(files ...string) func(*Loader) error + func FilesMultiTables(files ...string) func(*Loader) error + func Location(location *time.Location) func(*Loader) error + func Paths(paths ...string) func(*Loader) error + func ResetSequencesTo(value int64) func(*Loader) error + func SkipResetSequences() func(*Loader) error + func Template() func(*Loader) error + func TemplateData(data interface{}) func(*Loader) error + func TemplateDelims(left, right string) func(*Loader) error + func TemplateFuncs(funcs template.FuncMap) func(*Loader) error + func TemplateOptions(options ...string) func(*Loader) error + func UseAlterConstraint() func(*Loader) error + func UseDropConstraint() func(*Loader) error + type Dumper struct + func NewDumper(options ...func(*Dumper) error) (*Dumper, error) + func (d *Dumper) Dump() error + type InsertError struct + Err error + File string + Index int + Params []interface{} + SQL string + func (e *InsertError) Error() string + type Loader struct + func New(options ...func(*Loader) error) (*Loader, error) + func (l *Loader) EnsureTestDatabase() error + func (l *Loader) Load() error