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

Function QueryCtx_SetParams

src/query_ctx.c:219–227  ·  view source on GitHub ↗

set the parameters map

Source from the content-addressed store, hash-verified

217
218// set the parameters map
219void QueryCtx_SetParams
220(
221 rax *params
222) {
223 ASSERT(params != NULL);
224
225 QueryCtx *ctx = _QueryCtx_GetCreateCtx();
226 ctx->query_data.params = params;
227}
228
229// retrieve the AST
230AST *QueryCtx_GetAST(void) {

Callers 1

_AST_Extract_ParamsFunction · 0.85

Calls 1

_QueryCtx_GetCreateCtxFunction · 0.85

Tested by

no test coverage detected