sql

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MysqlDriver  = "mysql"
	SqliteDriver = "sqlite3"
)

Variables

View Source
var (
	DB_MYSQL_CONNECTIONS_PERCENT_PER_REQUEST = 5
	DB_MYSQL_MAX_CONNECTIONS_PERCENT         = 90
	DB_MYSQL_IDLE_CONNECTIONS_PERCENT        = 25
)
View Source
var (
	SqlConnectionOpenTimeout = 60 * time.Second
	SqlConnectionOpenRetries = 10 * time.Second
)

Functions

func FilterDAOErrors

func FilterDAOErrors(err error) (error, bool)

FilterDAOErrors hides sensitive information about the underlying table when we receive MySQLError.

Types

This section is empty.

Jump to

Keyboard shortcuts

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