MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / GraphContext_AttributeCount

Function GraphContext_AttributeCount

src/graph/graphcontext.c:442–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442uint GraphContext_AttributeCount(GraphContext *gc) {
443 pthread_rwlock_rdlock(&gc->_attribute_rwlock);
444 uint size = raxSize(gc->attributes);
445 pthread_rwlock_unlock(&gc->_attribute_rwlock);
446 return size;
447}
448
449Attribute_ID GraphContext_FindOrAddAttribute
450(

Callers 2

_RdbSaveAttributeKeysFunction · 0.85
Proc_PropKeysStepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected