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

Method QueryRowx

sqlx.go:361–364  ·  view source on GitHub ↗

QueryRowx queries the database and returns an *sqlx.Row. Any placeholder parameters are replaced with supplied args.

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

Source from the content-addressed store, hash-verified

359// QueryRowx queries the database and returns an *sqlx.Row.
360// Any placeholder parameters are replaced with supplied args.
361func (db *DB) QueryRowx(query string, args ...interface{}) *Row {
362 rows, err := db.DB.Query(query, args...)
363 return &Row{rows: rows, err: err, unsafe: db.unsafe, Mapper: db.Mapper}
364}
365
366// MustExec (panic) runs MustExec using this database.
367// Any placeholder parameters are replaced with supplied args.

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected