MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / AddQuery

Method AddQuery

internal/utils/dbs/query_stat_manager.go:57–59  ·  view source on GitHub ↗
(query string)

Source from the content-addressed store, hash-verified

55}
56
57func (this *QueryStatManager) AddQuery(query string) *QueryLabel {
58 return NewQueryLabel(this, query)
59}
60
61func (this *QueryStatManager) AddCost(query string, cost float64) {
62 this.locker.Lock()

Callers 12

TestQueryStatManagerFunction · 0.80
ExecContextMethod · 0.80
ExecMethod · 0.80
QueryMethod · 0.80
QueryRowMethod · 0.80
execItemMethod · 0.80
ExecContextMethod · 0.80
ExecMethod · 0.80
QueryContextMethod · 0.80
QueryMethod · 0.80
QueryRowContextMethod · 0.80
QueryRowMethod · 0.80

Calls 1

NewQueryLabelFunction · 0.85

Tested by 1

TestQueryStatManagerFunction · 0.64