MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / getStat

Method getStat

query_result.go:286–292  ·  view source on GitHub ↗
(stat string)

Source from the content-addressed store, hash-verified

284}
285
286func (qr *QueryResult) getStat(stat string) float64 {
287 if val, ok := qr.statistics[stat]; ok {
288 return val
289 } else {
290 return 0.0
291 }
292}
293
294// Next returns true only if there is a record to be processed.
295func (qr *QueryResult) Next() bool {

Callers 10

LabelsAddedMethod · 0.95
NodesCreatedMethod · 0.95
NodesDeletedMethod · 0.95
PropertiesSetMethod · 0.95
RelationshipsCreatedMethod · 0.95
RelationshipsDeletedMethod · 0.95
IndicesCreatedMethod · 0.95
IndicesDeletedMethod · 0.95
InternalExecutionTimeMethod · 0.95
CachedExecutionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected