QueryxContext queries the database and returns an *sqlx.Rows. Any placeholder parameters are replaced with supplied args.
(ctx context.Context, query string, args ...interface{})
| 258 | // QueryxContext queries the database and returns an *sqlx.Rows. |
| 259 | // Any placeholder parameters are replaced with supplied args. |
| 260 | func (c *Conn) QueryxContext(ctx context.Context, query string, args ...interface{}) (*Rows, error) { |
| 261 | r, err := c.Conn.QueryContext(ctx, query, args...) |
| 262 | if err != nil { |
| 263 | return nil, err |
| 264 | } |
| 265 | return &Rows{Rows: r, unsafe: c.unsafe, Mapper: c.Mapper}, err |
| 266 | } |
| 267 | |
| 268 | // QueryRowxContext queries the database and returns an *sqlx.Row. |
| 269 | // Any placeholder parameters are replaced with supplied args. |
nothing calls this directly
no test coverage detected