# Packages

No description provided by the author

# Functions

BuildAtomicQuery concatenates the provided queries into a single query wrapped in a BEGIN COMMIT block.
ConcatenateQueries concatenates the provided queries into a single query.
CreateDatabaseIfNotExists creates a database if it doesn't already exist.
CreateUserIfNotExists creates a user if it doesn't already exist and it gives it the specified permissions.
DropDatabase deletes the database.
DropUser removes a MySQL user if it exists, along with its privileges.
Escape escapes a string.
NewConfigFromClusterKey returns a new Config based on a MySQLCluster key.
NewQuery returns a new Query object.
NewSQLRunner opens a connections using the given DSN.

# Structs

Config is used to connect to a MysqlCluster.
Query contains a escaped query string with variables marked with a question mark (?) and a slice of positional arguments.

# Interfaces

Rows interface is a subset of mysql.Rows.
SQLRunner interface is a subset of mysql.DB.

# Type aliases

SQLRunnerFactory a function that generates a new SQLRunner.