| Conditions | 3 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function getCommitQueryWithMerge(): QueryInterface |
||
| 47 | { |
||
| 48 | $query = ''; |
||
| 49 | foreach ($this->nodes as $index => $node) { |
||
| 50 | $query .= 'MERGE ' . $node->toString() . ' '; |
||
| 51 | } |
||
| 52 | foreach ($this->edges as $index => $edge) { |
||
| 53 | $query .= 'MERGE ' . $edge->toString() . ' '; |
||
| 54 | } |
||
| 55 | return new Query($this->name, trim($query)); |
||
| 56 | } |
||
| 58 |