MCPcopy
hub / github.com/PatchMon/PatchMon / Raw

Method Raw

server-source-code/internal/database/db.go:167–169  ·  view source on GitHub ↗

Raw executes a raw query using the pgx pool (for information_schema, etc).

(ctx context.Context, query string, args ...interface{})

Source from the content-addressed store, hash-verified

165
166// Raw executes a raw query using the pgx pool (for information_schema, etc).
167func (d *DB) Raw(ctx context.Context, query string, args ...interface{}) (pgx.Rows, error) {
168 return d.pool.Query(ctx, query, args...)
169}
170
171// RawQueryRow executes a raw query returning one row.
172func (d *DB) RawQueryRow(ctx context.Context, query string, args ...interface{}) pgx.Row {

Callers 2

GlobalSearchMethod · 0.80
checkDBMethod · 0.80

Calls 1

QueryMethod · 0.80

Tested by

no test coverage detected