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

Function AR_PROPERTIES

src/arithmetic/map_funcs/map_funcs.c:61–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61SIValue AR_PROPERTIES(SIValue *argv, int argc, void *private_data) {
62 ASSERT(argc == 1);
63 switch(SI_TYPE(argv[0])) {
64 case T_NULL:
65 return SI_NullVal();
66 case T_NODE:
67 case T_EDGE:
68 return GraphEntity_Properties(argv[0].ptrval);
69 case T_MAP:
70 return argv[0];
71 default:
72 ASSERT(false);
73 }
74 return SI_NullVal();
75}
76
77// Receives two maps and merges them
78SIValue AR_MERGEMAP(SIValue *argv, int argc, void *private_data) {

Callers

nothing calls this directly

Calls 2

SI_NullValFunction · 0.85
GraphEntity_PropertiesFunction · 0.85

Tested by

no test coverage detected