package
0.0.698
Repository: https://github.com/ory/x.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FinalizeDSN will return a finalized DSN URI.
GetDriverName returns the driver name of a given DSN.
HandleError returns the right sqlcon.Err* depending on the input error.
HelpMessage returns a string explaining how to set up SQL using environment variables.
ParseConnectionOptions parses values for max_conns, max_idle_conns, max_conn_lifetime from DSNs.

# Variables

ErrConcurrentUpdate is returned when the database is unable to serialize access due to a concurrent update.
ErrNoRows is returned when a SQL SELECT statement returns no rows.
No description provided by the author
ErrUniqueViolation is returned when^a SQL INSERT / UPDATE command returns a conflict.