package
0.0.0-20240702082551-bb59e5bdf72b
Repository: https://github.com/openrfsense/backend.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Closes the database connection.
Runs a query which does not return a result.
Initalizes a connection to a PostgreSQL database.
Returns a reference to the internal database connection and query builder.
Runs a query which returns multiple rows and collects them in a slice of type []T using pgx.RowToStructByName.
RowToAddrOfStructByPos returns the address of a T scanned from row.
RowToStructByName returns a T scanned from row.
Runs a query which returns a single row and converts it to T using pgx.RowToAddrOfStructByName.