msql

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDb

func CreateDb(dbname string) error

func DbExists

func DbExists(dbname string) bool

func DeleteDb

func DeleteDb(dbname string) error

func DumpDb

func DumpDb(outputFilePath string, v *viper.Viper, onlySchema bool) error

func GetExistingDbs

func GetExistingDbs() ([]string, error)

func GetTableSchema

func GetTableSchema(schema string, tablename string) (*types.TableSchema, error)

func ListTablesInDb

func ListTablesInDb() ([]types.Table, error)

func RestoreDb

func RestoreDb(dbname string, v *viper.Viper, dumpFilePath string, override bool) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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