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

Method ExecContext

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

Source from the content-addressed store, hash-verified

68}
69
70func (c *wrapperConnPool) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
71 c.got = append(c.got, query)
72 return c.db.ExecContext(ctx, query, args...)
73}
74
75func (c *wrapperConnPool) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
76 c.got = append(c.got, query)

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.65

Tested by

no test coverage detected