package
2.0.7+incompatible
Repository: https://github.com/nobyardor/db.git
Documentation: pkg.go.dev

# README

PostgreSQL adapter for upper.io/db

Please read the full docs, acknowledgements and examples at https://upper.io/db.v2/postgresql

# 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 PostgreSQL connection struct.