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

Method MustExecContext

sqlx_context.go:322–324  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

320// MustExecContext runs MustExecContext within a transaction.
321// Any placeholder parameters are replaced with supplied args.
322func (tx *Tx) MustExecContext(ctx context.Context, query string, args ...interface{}) sql.Result {
323 return MustExecContext(ctx, tx, query, args...)
324}
325
326// QueryxContext within a transaction and context.
327// Any placeholder parameters are replaced with supplied args.

Callers

nothing calls this directly

Calls 1

MustExecContextFunction · 0.85

Tested by

no test coverage detected