MCPcopy
hub / github.com/jmoiron/sqlx / Queryx

Method Queryx

sqlx.go:439–445  ·  sqlx.go::Tx.Queryx

Queryx within a transaction. Any placeholder parameters are replaced with supplied args.

(query string, args ...interface{})

Source from the content-addressed store, hash-verified

437// Queryx within a transaction.
438// Any placeholder parameters are replaced with supplied args.
439func (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.

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected