Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
*pgxpool.Pool
QueryBuilder *squirrel.StatementBuilderType
// contains filtered or unexported fields
}
*
- DB is a wrapper for PostgreSQL database connection
- that uses pgxpool as database driver.
- It also holds a reference to squirrel.StatementBuilderType
- which is used to build SQL queries that compatible with PostgreSQL syntax
Click to show internal directories.
Click to hide internal directories.