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

Method MustExec

sqlx.go:532–534  ·  view source on GitHub ↗

MustExec (panic) using this statement. Note that the query portion of the error output will be blank, as Stmt does not expose its query. Any placeholder parameters are replaced with supplied args.

(args ...interface{})

Source from the content-addressed store, hash-verified

530// output will be blank, as Stmt does not expose its query.
531// Any placeholder parameters are replaced with supplied args.
532func (s *Stmt) MustExec(args ...interface{}) sql.Result {
533 return MustExec(&qStmt{s}, "", args...)
534}
535
536// QueryRowx using this statement.
537// Any placeholder parameters are replaced with supplied args.

Callers

nothing calls this directly

Calls 1

MustExecFunction · 0.85

Tested by

no test coverage detected