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

Function _readonly_cmd_mode

src/commands/cmd_query.c:279–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279inline static bool _readonly_cmd_mode(CommandCtx *ctx) {
280 return strcasecmp(CommandCtx_GetCommandName(ctx), "graph.RO_QUERY") == 0;
281}
282
283// _ExecuteQuery accepts a GraphQueryCtx as an argument
284// it may be called directly by a reader thread or the Redis main thread,

Callers 1

_queryFunction · 0.85

Calls 1

Tested by

no test coverage detected