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

Function UpdateCtx_New

src/ast/ast_shared.c:162–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162EntityUpdateEvalCtx *UpdateCtx_New
163(
164 const char *alias
165) {
166 EntityUpdateEvalCtx *ctx = rm_malloc(sizeof(EntityUpdateEvalCtx));
167
168 ctx->alias = alias;
169 ctx->record_idx = INVALID_INDEX;
170 ctx->properties = array_new(PropertySetCtx, 1);
171 ctx->add_labels = NULL;
172 ctx->remove_labels = NULL;
173
174 return ctx;
175}
176
177EntityUpdateEvalCtx *UpdateCtx_Clone
178(

Callers 1

_ConvertUpdateItemFunction · 0.85

Calls 1

rm_mallocFunction · 0.85

Tested by

no test coverage detected