MCPcopy
hub / github.com/go-gorm/gorm / ExecContext

Method ExecContext

tests/connpool_test.go:25–28  ·  view source on GitHub ↗
(ctx context.Context, query string, args ...interface{})

Source from the content-addressed store, hash-verified

23}
24
25func (c *wrapperTx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
26 c.conn.got = append(c.conn.got, query)
27 return c.Tx.ExecContext(ctx, query, args...)
28}
29
30func (c *wrapperTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
31 c.conn.got = append(c.conn.got, query)

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.65

Tested by

no test coverage detected