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

Function QueryCtx_GetGraphCtx

src/query_ctx.c:244–248  ·  view source on GitHub ↗

retrieve the GraphCtx

Source from the content-addressed store, hash-verified

242
243// retrieve the GraphCtx
244GraphContext *QueryCtx_GetGraphCtx(void) {
245 QueryCtx *ctx = _QueryCtx_GetCtx();
246 ASSERT(ctx && ctx->gc);
247 return ctx->gc;
248}
249
250// retrieve the Graph object
251Graph *QueryCtx_GetGraph(void) {

Callers 15

QueryCtx_GetGraphFunction · 0.85
NewResultSetFunction · 0.85
ExecutionCtx_FromQueryFunction · 0.85
AST_PreparePathCreationFunction · 0.85
EnforceUniqueEntityFunction · 0.85
AR_SHORTEST_PATHFunction · 0.85
AR_LABELSFunction · 0.85
AR_HAS_LABELSFunction · 0.85
AR_TYPEFunction · 0.85

Calls 1

_QueryCtx_GetCtxFunction · 0.85

Tested by 9

_build_graphFunction · 0.68
_bind_matricesFunction · 0.68
tearDownFunction · 0.68
test_ExpressionExecuteFunction · 0.68
tearDownFunction · 0.68
tearDownFunction · 0.68
tearDownFunction · 0.68