Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open creates a pgx pool from a connection string, registers UUID mappings, and verifies connectivity with Ping.
func OpenWithOptions ¶
func OpenWithOptions( ctx context.Context, connectionString string, options ...poolConfigOption, ) (*pgxpool.Pool, error)
OpenWithOptions creates a pgx pool with optional configuration hooks.
func WithTracing ¶
func WithTracing() poolConfigOption
WithTracing installs the application pgx tracer on the pool config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.