MCPcopy
hub / github.com/harness/harness / QueryContext

Method QueryContext

store/database/dbtx/runner.go:102–106  ·  view source on GitHub ↗
(ctx context.Context, query string, args ...interface{})

Source from the content-addressed store, hash-verified

100}
101
102func (r runnerDB) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
103 r.mx.Lock()
104 defer r.mx.Unlock()
105 return r.db.QueryContext(ctx, query, args...)
106}
107
108func (r runnerDB) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error) {
109 r.mx.Lock()

Callers 9

readParentsDataMethod · 0.45
GetRootSpacesSizeMethod · 0.45
ListMethod · 0.45
ListWithStepsMethod · 0.45
FindManyMethod · 0.45
ListMethod · 0.45

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 1