QueryRowx within a transaction. Any placeholder parameters are replaced with supplied args.
(query string, args ...interface{})
| 447 | // QueryRowx within a transaction. |
| 448 | // Any placeholder parameters are replaced with supplied args. |
| 449 | func (tx *Tx) QueryRowx(query string, args ...interface{}) *Row { |
| 450 | rows, err := tx.Tx.Query(query, args...) |
| 451 | return &Row{rows: rows, err: err, unsafe: tx.unsafe, Mapper: tx.Mapper} |
| 452 | } |
| 453 | |
| 454 | // Get within a transaction. |
| 455 | // Any placeholder parameters are replaced with supplied args. |