package
0.4.0-rc0
Repository: https://github.com/swayedev/way.git
Documentation: pkg.go.dev

# Functions

CheckDriver checks and returns the appropriate driver.
CheckDSN constructs the DSN based on the driver and provided parameters.
DefaultPorts returns a map of default ports for supported database drivers.
PGXConnect establishes a connection to the PostgreSQL database using pgx.
PGXExec executes a query without returning any rows.
PGXExecNoResult executes a query without returning any rows and without returning the result tag.
PGXQuery executes a query that returns rows.
PGXQueryRow executes a query that is expected to return at most one row.
SQLConnect opens a connection to the specified database and checks if it is alive.
SQLExec executes a query without returning any rows.
SQLExecNoResult executes a query without returning any rows and without returning the result.
SQLQuery executes a query that returns rows.
SQLQueryRow executes a query that is expected to return at most one row.
SupportedDrivers returns a list of supported database drivers.