dumpster

package
v0.0.0-...-a821fee Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dumpster

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

func NewDumpster

func NewDumpster(db *sqlx.DB) *Dumpster

NewDumpster creates a new dumpster

func (*Dumpster) Dump

func (d *Dumpster) Dump() (string, error)

Dump creates a new dump of the database and returns the content.

func (*Dumpster) DumpFile

func (d *Dumpster) DumpFile() (string, error)

DumpFile creates a new dump of the database

func (*Dumpster) GetDDL

func (d *Dumpster) GetDDL() (string, error)

func (*Dumpster) GetSchemaName

func (d *Dumpster) GetSchemaName() (string, error)

Jump to

Keyboard shortcuts

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