PostgreSQLColumnGetter implements ColumnGetter for PostgreSQL using pgxpool.
| 20 | |
| 21 | // PostgreSQLColumnGetter implements ColumnGetter for PostgreSQL using pgxpool. |
| 22 | type PostgreSQLColumnGetter struct { |
| 23 | pool *pgxpool.Pool |
| 24 | } |
| 25 | |
| 26 | func (g *PostgreSQLColumnGetter) GetColumnNames(ctx context.Context, query string) ([]string, error) { |
| 27 | conn, err := g.pool.Acquire(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected