Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDump ¶
GetDump gets the pg_dump of the inputted database. It is only intended to be used for testing. You cannot securely pass passwords with this implementation, so it will only accept databases created for unit tests (spun up with the pgengine package) "pgdump" must be on the system's PATH
Types ¶
type Parameter ¶
type Parameter struct {
// contains filtered or unexported fields
}
Parameter represents a parameter to be pg_dump. Don't use a type alias for a string slice because all parameters for pgdump should be explicitly added here
func WithExcludeSchema ¶
func WithSchemaOnly ¶
func WithSchemaOnly() Parameter
Click to show internal directories.
Click to hide internal directories.