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

Function GraphContext_GetSchemaByID

src/graph/graphcontext.c:383–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383Schema *GraphContext_GetSchemaByID(const GraphContext *gc, int id, SchemaType t) {
384 Schema **schemas = (t == SCHEMA_NODE) ? gc->node_schemas : gc->relation_schemas;
385 if(id == GRAPH_NO_LABEL) return NULL;
386 return schemas[id];
387}
388
389Schema *GraphContext_GetSchema
390(

Callers 15

_index_nodeFunction · 0.85
_index_node_with_labelsFunction · 0.85
_index_edgeFunction · 0.85
_index_delete_nodeFunction · 0.85
_index_delete_edgeFunction · 0.85
RdbLoadNodes_v13Function · 0.85
RdbLoadEdges_v13Function · 0.85
RdbLoadGraphContext_v13Function · 0.85
RdbLoadNodes_v11Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected