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

Method Queryx

sqlx.go:558–564  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

556}
557
558func (q *qStmt) Queryx(query string, args ...interface{}) (*Rows, error) {
559 r, err := q.Stmt.Query(args...)
560 if err != nil {
561 return nil, err
562 }
563 return &Rows{Rows: r, unsafe: q.Stmt.unsafe, Mapper: q.Stmt.Mapper}, err
564}
565
566func (q *qStmt) QueryRowx(query string, args ...interface{}) *Row {
567 rows, err := q.Stmt.Query(args...)

Callers 1

QueryxMethod · 0.95

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected