MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / agg_func_name

Function agg_func_name

src/cypher/cypher.c:1204–1221  ·  view source on GitHub ↗

Token type to function name */

Source from the content-addressed store, hash-verified

1202
1203/* Token type to function name */
1204static const char *agg_func_name(cbm_token_type_t t) {
1205 switch (t) {
1206 case TOK_COUNT:
1207 return "COUNT";
1208 case TOK_SUM:
1209 return "SUM";
1210 case TOK_AVG:
1211 return "AVG";
1212 case TOK_MIN_KW:
1213 return "MIN";
1214 case TOK_MAX_KW:
1215 return "MAX";
1216 case TOK_COLLECT:
1217 return "COLLECT";
1218 default:
1219 return "COUNT";
1220 }
1221}
1222
1223static const char *str_func_name(cbm_token_type_t t) {
1224 switch (t) {

Callers 2

parse_aggregate_itemFunction · 0.85
parse_order_by_aggFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected