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

Function agg_func_name

src/cypher/cypher.c:1338–1355  ·  view source on GitHub ↗

Token type to function name */

Source from the content-addressed store, hash-verified

1336
1337/* Token type to function name */
1338static const char *agg_func_name(cbm_token_type_t t) {
1339 switch (t) {
1340 case TOK_COUNT:
1341 return "COUNT";
1342 case TOK_SUM:
1343 return "SUM";
1344 case TOK_AVG:
1345 return "AVG";
1346 case TOK_MIN_KW:
1347 return "MIN";
1348 case TOK_MAX_KW:
1349 return "MAX";
1350 case TOK_COLLECT:
1351 return "COLLECT";
1352 default:
1353 return "COUNT";
1354 }
1355}
1356
1357static const char *str_func_name(cbm_token_type_t t) {
1358 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