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

Function agg_func_name

src/cypher/cypher.c:1337–1354  ·  view source on GitHub ↗

Token type to function name */

Source from the content-addressed store, hash-verified

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