(ctx *sql.Context, query string, args ...any)
| 65 | } |
| 66 | |
| 67 | func QueryRow(ctx *sql.Context, query string, args ...any) *stdsql.Row { |
| 68 | conn, err := GetConn(ctx) |
| 69 | if err != nil { |
| 70 | return nil |
| 71 | } |
| 72 | return conn.QueryRowContext(ctx, query, args...) |
| 73 | } |
| 74 | |
| 75 | // QueryCatalog is a helper function to query the catalog, such as information_schema. |
| 76 | // Unlike QueryContext, this function does not require a schema name to be set on the connection, |
no test coverage detected