MCPcopy Create free account
hub / github.com/codemix/graph / peg$f228

Function peg$f228

packages/graph/src/grammar.js:1999–2008  ·  view source on GitHub ↗
(distinct, variable, property, alias)

Source from the content-addressed store, hash-verified

1997 };
1998 }
1999 function peg$f228(distinct, variable, property, alias) {
2000 return {
2001 type: 'ReturnItem',
2002 variable: variable,
2003 property: property,
2004 aggregate: 'COUNT',
2005 ...(distinct !== null && { distinct: true }),
2006 ...(alias && { alias: alias[3] })
2007 };
2008 }
2009 function peg$f229(distinct, variable, property, alias) {
2010 return {
2011 type: 'ReturnItem',

Callers 1

peg$parseReturnItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected