Queryx within a transaction. Any placeholder parameters are replaced with supplied args.
(query string, args ...interface{})
| 437 | // Queryx within a transaction. |
| 438 | // Any placeholder parameters are replaced with supplied args. |
| 439 | func (tx *Tx) Queryx(query string, args ...interface{}) (*Rows, error) { |
| 440 | r, err := tx.Tx.Query(query, args...) |
| 441 | if err != nil { |
| 442 | return nil, err |
| 443 | } |
| 444 | return &Rows{Rows: r, unsafe: tx.unsafe, Mapper: tx.Mapper}, err |
| 445 | } |
| 446 | |
| 447 | // QueryRowx within a transaction. |
| 448 | // Any placeholder parameters are replaced with supplied args. |