Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
57
func
(this *QueryStatManager) AddQuery(query string) *QueryLabel {
58
return
NewQueryLabel(this, query)
59
}
60
61
func
(this *QueryStatManager) AddCost(query string, cost float64) {
62
this.locker.Lock()
Callers
12
TestQueryStatManager
Function · 0.80
ExecContext
Method · 0.80
Exec
Method · 0.80
Query
Method · 0.80
QueryRow
Method · 0.80
execItem
Method · 0.80
ExecContext
Method · 0.80
Exec
Method · 0.80
QueryContext
Method · 0.80
Query
Method · 0.80
QueryRowContext
Method · 0.80
QueryRow
Method · 0.80
Calls
1
NewQueryLabel
Function · 0.85
Tested by
1
TestQueryStatManager
Function · 0.64