Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FromDBConfig ¶
FromDBConfig converts `config.Database` data to a DSN and returns it. Note: PreferSimpleProtocol is enabled to disable prepared statement caching, which prevents "cached plan must not change result type" errors https://pkg.go.dev/github.com/jackc/pgx/v5#section-readme
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.