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

Function QueryGraph_GetEdgeByAlias

src/graph/query_graph.c:488–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488QGEdge *QueryGraph_GetEdgeByAlias
489(
490 const QueryGraph *qg,
491 const char *alias
492) {
493 uint edge_count = QueryGraph_EdgeCount(qg);
494 for(uint i = 0; i < edge_count; i ++) {
495 if(!strcmp(qg->edges[i]->alias, alias)) return qg->edges[i];
496 }
497 return NULL;
498}
499
500EntityType QueryGraph_GetEntityTypeByAlias
501(

Callers 15

AST_PreparePathCreationFunction · 0.85
_QueryGraphAddEdgeFunction · 0.85
_QueryGraph_ExtractEdgeFunction · 0.85
QueryGraph_MergeGraphsFunction · 0.85
_setupTraversedRelationsFunction · 0.85
NewCondVarLenTraverseOpFunction · 0.85
CondVarLenTraverseInitFunction · 0.85
NewExpandIntoOpFunction · 0.85
NewCondTraverseOpFunction · 0.85
TraversalToStringFunction · 0.85

Calls 1

QueryGraph_EdgeCountFunction · 0.85

Tested by 2