package
0.0.0-20240703020843-eee30f5054af
Repository: https://github.com/henvic/pgxtutorial.git
Documentation: pkg.go.dev

# Functions

LogLevelFromEnv returns the tracelog.LogLevel from the environment variable PGX_LOG_LEVEL.
NewPGXPool is a PostgreSQL connection pool for pgx.
PgErrors returns a multi-line error printing more information from *pgconn.PgError to make debugging faster.

# Structs

PGXStdLogger prints pgx logs to the standard logger.

# Interfaces

PGX limited interface with high-level API for pgx methods safe to be used in high-level business logic packages.
PGXQuerier interface with methods used for everything, including transactions.