QueryRowxContext queries the database and returns an *sqlx.Row. Any placeholder parameters are replaced with supplied args.
(ctx context.Context, query string, args ...interface{})
| 268 | // QueryRowxContext queries the database and returns an *sqlx.Row. |
| 269 | // Any placeholder parameters are replaced with supplied args. |
| 270 | func (c *Conn) QueryRowxContext(ctx context.Context, query string, args ...interface{}) *Row { |
| 271 | rows, err := c.Conn.QueryContext(ctx, query, args...) |
| 272 | return &Row{rows: rows, err: err, unsafe: c.unsafe, Mapper: c.Mapper} |
| 273 | } |
| 274 | |
| 275 | // Rebind a query within a Conn's bindvar type. |
| 276 | func (c *Conn) Rebind(query string) string { |
nothing calls this directly
no test coverage detected