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

Method NamedExecContext

sqlx_context.go:358–360  ·  view source on GitHub ↗

NamedExecContext using this Tx. Any named placeholder parameters are replaced with fields from arg.

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

Source from the content-addressed store, hash-verified

356// NamedExecContext using this Tx.
357// Any named placeholder parameters are replaced with fields from arg.
358func (tx *Tx) NamedExecContext(ctx context.Context, query string, arg interface{}) (sql.Result, error) {
359 return NamedExecContext(ctx, tx, query, arg)
360}
361
362// SelectContext using the prepared statement.
363// Any placeholder parameters are replaced with supplied args.

Callers

nothing calls this directly

Calls 1

NamedExecContextFunction · 0.85

Tested by

no test coverage detected