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

Function Graph_GetEdge

src/graph/graph.c:556–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556bool Graph_GetEdge
557(
558 const Graph *g,
559 EdgeID id,
560 Edge *e
561) {
562 ASSERT(g != NULL);
563 ASSERT(e != NULL);
564 ASSERT(id < g->edges->itemCap);
565
566 e->id = id;
567 e->attributes = _Graph_GetEntity(g->edges, id);
568
569 return (e->attributes != NULL);
570}
571
572RelationID Graph_GetEdgeRelation
573(

Callers 8

_RdbSaveMultipleEdgesFunction · 0.85
RdbSaveEdges_v13Function · 0.85
ApplyDeleteEdgeFunction · 0.85
Constraint_EnforceEdgesFunction · 0.85
_Index_PopulateEdgeIndexFunction · 0.85
UpdateEdgePropertyFunction · 0.85
_UpdateRecordFunction · 0.85
test_getEdgeFunction · 0.85

Calls 1

_Graph_GetEntityFunction · 0.85

Tested by 1

test_getEdgeFunction · 0.68