package
2.1.1+incompatible
Repository: https://github.com/planetscale/vitess.git
Documentation: pkg.go.dev

# Functions

Connect returns a sqldb.Conn using the default connection creation function.
ExecuteFetchMap returns a map from column names to cell data for a query that should return exactly 1 row.
GetCharset returns the current numerical values of the per-session character set variables.
NewSQLError creates a new SQLError.
NewSQLErrorFromError returns a *SQLError from the provided error.
Register registers a db connection.
RegisterDefault registers the default connection function.
SetCharset changes the per-session character set variables.

# Constants

SQLStateGeneral is the SQLSTATE value for "general error".

# Structs

ConnParams contains all the parameters to use to connect to mysql.
SQLError is the error structure returned from calling a db library function.

# Interfaces

Conn defines the behavior for the low level db connection.

# Type aliases

NewConnFunc is a factory method that creates a Conn instance using given ConnParams.