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

Method MustExecContext

sqlx_context.go:378–380  ·  view source on GitHub ↗

MustExecContext (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.

(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

376// the error output will be blank, as Stmt does not expose its query.
377// Any placeholder parameters are replaced with supplied args.
378func (s *Stmt) MustExecContext(ctx context.Context, args ...interface{}) sql.Result {
379 return MustExecContext(ctx, &qStmt{s}, "", args...)
380}
381
382// QueryRowxContext using this statement.
383// Any placeholder parameters are replaced with supplied args.

Callers

nothing calls this directly

Calls 1

MustExecContextFunction · 0.85

Tested by

no test coverage detected