Documentation
¶
Overview ¶
this is a central place for calling driver-specific internal functions
Index ¶
- func CreateDb(dbname string) error
- func DbExists(dbname string) bool
- func DeleteDb(dbname string) error
- func DisconnectAllUsers(dbname string) error
- func DumpDb(outputFilePath string, v *viper.Viper) error
- func ExecuteStatements(sqlStr string) error
- func ExecuteStatements__DEPRECATED(dbname, sqlStr string) error
- func GetDbSchema(dbname string) (*types.DbSchema, error)
- func GetExistingDbs() ([]string, error)
- func GetRows(queryStr string) (types.QueryResult, error)
- func GetTableSchema(dbname, schema, tablename string) (*types.TableSchema, error)
- func ListTablesInDb() ([]types.Table, error)
- func NewDbFromOriginal(originalDbName string, newDbName string) error
- func RestoreDb(dbname string, v *viper.Viper, dumpFilePath string, override bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisconnectAllUsers ¶
func ExecuteStatements ¶
func GetExistingDbs ¶
func GetTableSchema ¶
func GetTableSchema(dbname, schema, tablename string) (*types.TableSchema, error)
func ListTablesInDb ¶
func NewDbFromOriginal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.