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

Function peg$f49

packages/graph/src/grammar.js:821–831  ·  view source on GitHub ↗
(distinct, items, orderBy, skip, limit, where)

Source from the content-addressed store, hash-verified

819 };
820 }
821 function peg$f49(distinct, items, orderBy, skip, limit, where) {
822 return {
823 type: 'WithClause',
824 distinct: distinct !== null,
825 items: items,
826 ...(orderBy && { orderBy: orderBy }),
827 ...(skip && { skip: skip.skip }),
828 ...(limit && { limit: limit.limit }),
829 ...(where && { where: where })
830 };
831 }
832 function peg$f50(head, tail) {
833 return [head, ...tail.map(t => t[3])];
834 }

Callers 1

peg$parseWithClauseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected