Raw executes a raw query using the pgx pool (for information_schema, etc).
(ctx context.Context, query string, args ...interface{})
| 165 | |
| 166 | // Raw executes a raw query using the pgx pool (for information_schema, etc). |
| 167 | func (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. |
| 172 | func (d *DB) RawQueryRow(ctx context.Context, query string, args ...interface{}) pgx.Row { |
no test coverage detected