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

Function GraphContext_GetEdgeRelationType

src/graph/graphcontext.c:436–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436const char *GraphContext_GetEdgeRelationType(const GraphContext *gc, Edge *e) {
437 int reltype_id = Edge_GetRelationID(e);
438 ASSERT(reltype_id != GRAPH_NO_RELATION);
439 return gc->relation_schemas[reltype_id]->name;
440}
441
442uint GraphContext_AttributeCount(GraphContext *gc) {
443 pthread_rwlock_rdlock(&gc->_attribute_rwlock);

Callers

nothing calls this directly

Calls 1

Edge_GetRelationIDFunction · 0.85

Tested by

no test coverage detected