| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 63 | public function groupConcat(string $delimiter = ',') |
||
| 64 | { |
||
| 65 | $delimiter = $this->db->quote($delimiter); |
||
| 66 | if ($this->db->isSQLite()) { |
||
| 67 | return Str::factory($this->db, "GROUP_CONCAT({$this},{$delimiter})"); |
||
| 68 | } |
||
| 69 | return Str::factory($this->db, "GROUP_CONCAT({$this} SEPARATOR {$delimiter})"); |
||
| 70 | } |
||
| 112 |