package
0.1.17
Repository: https://github.com/shiftleftsecurity/gaum.git
Documentation: pkg.go.dev

# Functions

New crafts a new Q query containing a db connection to the db specified by connectionString and the selected driver and logging settings.
NewDB crafts a new `connection.DB` from the passed connection string, using the passed in <driver> and with the passed in <logger> and <logLevel> set.
NewFromDB crafts a new Q query containing the passed db connection.
RawExec runs the passed in <query> with the safely inserted <args> through <db>, no values are returned except for success/error.
RawQuery runs the passed in <query> with the safely inserted <args> through <db> and fetches the values into <recipientSlice> that must be a slice of a type that supports de-serialization of all columns into it.
RawQueryOne runs the passed in <query> with the safely inserted <args> through <db> and fetches the first value into <recipient>.RawQueryOne <receiver> must be of a type that supports de-serialization of all columns into it.

# Constants

PGX is Jackc [pgx driver](github.com/jackc/pgx) (binary).
PQ is Postgres default driver (text).

# Structs

Q is the intended struct for interaction with SQL Queries.

# Type aliases

Driver represent the possible db connection drivers.