MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / QueryContext

Method QueryContext

internal/utils/dbs/stmt.go:66–71  ·  view source on GitHub ↗
(ctx context.Context, args ...any)

Source from the content-addressed store, hash-verified

64}
65
66func (this *Stmt) QueryContext(ctx context.Context, args ...any) (*sql.Rows, error) {
67 if this.enableStat {
68 defer SharedQueryStatManager.AddQuery(this.query).End()
69 }
70 return this.rawStmt.QueryContext(ctx, args...)
71}
72
73func (this *Stmt) Query(args ...any) (*sql.Rows, error) {
74 if this.enableStat {

Callers

nothing calls this directly

Calls 2

AddQueryMethod · 0.80
EndMethod · 0.45

Tested by

no test coverage detected