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

Function UnwindInit

src/execution_plan/ops/op_unwind.c:72–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static OpResult UnwindInit
73(
74 OpBase *opBase
75) {
76 OpUnwind *op = (OpUnwind *) opBase;
77 op->currentRecord = OpBase_CreateRecord((OpBase *)op);
78
79 if(op->op.childCount == 0) {
80 // no child operation, list must be static
81 _initList(op);
82 }
83
84 return OP_OK;
85}
86
87// try to generate a new value to return
88// NULL will be returned if dynamic list is not evaluated

Callers

nothing calls this directly

Calls 2

OpBase_CreateRecordFunction · 0.85
_initListFunction · 0.85

Tested by

no test coverage detected