Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DbProviderExists ¶
DbProviderExists tests if a specific DbProvider was registered
func GetDbConnection ¶
func GetDbConnection(name string, projectName string, settings cfgprovider.DatabaseCredentials, logger *lesqllog.Logger) (*sql.DB, error)
GetDbConnection gets the GetDbConnection
Types ¶
type Driver ¶
type Driver interface {
GetDbConnection(projectname string, settings cfgprovider.DatabaseCredentials, logger *lesqllog.Logger) (*sql.DB, error)
}
Click to show internal directories.
Click to hide internal directories.