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

Function peg$f11

packages/graph/src/grammar.js:569–577  ·  view source on GitHub ↗
(foreach, mutations, set, remove, delete_, withClause)

Source from the content-addressed store, hash-verified

567 return segment;
568 }
569 function peg$f11(foreach, mutations, set, remove, delete_, withClause) {
570 const segment = { foreach };
571 if (mutations.length > 0) segment.mutations = mutations;
572 if (set) segment.set = set;
573 if (remove) segment.remove = remove;
574 if (delete_) segment.delete = delete_;
575 if (withClause) segment.with = [withClause];
576 return segment;
577 }
578 function peg$f12(mutations, set, remove, delete_, withClause) {
579 const segment = { mutations };
580 if (set) segment.set = set;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected