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

Function peg$f229

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

Source from the content-addressed store, hash-verified

2007 };
2008 }
2009 function peg$f229(distinct, variable, property, alias) {
2010 return {
2011 type: 'ReturnItem',
2012 variable: variable,
2013 property: property,
2014 aggregate: 'SUM',
2015 ...(distinct !== null && { distinct: true }),
2016 ...(alias && { alias: alias[3] })
2017 };
2018 }
2019 function peg$f230(distinct, variable, alias) {
2020 return {
2021 type: 'ReturnItem',

Callers 1

peg$parseReturnItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected