package
2.0.0+incompatible
Repository: https://github.com/thomasmodeneis/db.git
Documentation: pkg.go.dev
# README
MySQL adapter for upper.io/db
See the full docs, acknowledgements and examples at https://upper.io/db.v2/mysql
# Functions
New wraps the given *sql.DB session and creates a new db session.
NewTx returns a transaction session.
Open stablishes a new connection with the SQL server.
ParseURL parses s into a ConnectionURL struct.
SetConnMaxLifetime sets the default value to be passed to db.SetConnMaxLifetime.
SetMaxIdleConns sets the default value to be passed to db.SetMaxOpenConns.
SetMaxOpenConns sets the default value to be passed to db.SetMaxOpenConns.
# Constants
Adapter is the public name of the adapter.
# Structs
ConnectionURL implements a MySQL connection struct.