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

Function agg_func_name

src/cypher/cypher.c:1368–1385  ·  view source on GitHub ↗

Token type to function name */

Source from the content-addressed store, hash-verified

1366
1367/* Token type to function name */
1368static const char *agg_func_name(cbm_token_type_t t) {
1369 switch (t) {
1370 case TOK_COUNT:
1371 return "COUNT";
1372 case TOK_SUM:
1373 return "SUM";
1374 case TOK_AVG:
1375 return "AVG";
1376 case TOK_MIN_KW:
1377 return "MIN";
1378 case TOK_MAX_KW:
1379 return "MAX";
1380 case TOK_COLLECT:
1381 return "COLLECT";
1382 default:
1383 return "COUNT";
1384 }
1385}
1386
1387static const char *str_func_name(cbm_token_type_t t) {
1388 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