data

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDB

func CloseDB() error

CloseDB closes the database connection pool

func DBConn

func DBConn() *sqlx.DB

DBConn returns a database connection pool to the DB for use

func GetSQLAlchemyDatabaseURIgo

func GetSQLAlchemyDatabaseURIgo() string

GetSQLAlchemyDatabaseURIgo returns the databause uri needed by sqlalchemy to generate a schema file

func ResetDB

func ResetDB(db2 *sqlx.DB, rdbi *config.DBConfig) error

TODO this obviously needs to be cleaned up used by tests

Types

This section is empty.

Jump to

Keyboard shortcuts

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