src/DataTable.php
protected function patchDuplicateRow($d, $pKey, array $columns)
    {
        $id = $d[$pKey];
        if (isset($this->rData[$id])) {
            foreach ($columns as $c => $separator) {
                $this->rData[$id][$c] .= $separator.$d[$c];
            }
        } else {
            $this->rData[$id] = $d;
        }
    }
protected function patchDuplicateRow($d, $pKey, array $columns)
    {
        $id = $d[$pKey];
        if (isset($this->rData[$id])) {
            foreach ($columns as $c => $separator) {
                $this->rData[$id][$c] .= $separator.$d[$c];
            }
        } else {
            $this->rData[$id] = $d;
        }
    }
protected function patchDuplicateRow ( $ d , $ pKey , array $ columns ) { $ id = $ d [ $ pKey ] ; if ( isset ( $ this -> rData [ $ id ] ) ) { foreach ( $ columns as $ c => $ separator ) { $ this -> rData [ $ id ] [ $ c ] .= $ separator . $ d [ $ c ] ; } } else { $ this -> rData [ $ id ] = $ d ; } }
To avoid duplicate row when LEFT JOIN if GROUP BY is not set

@param array  $d
@param string $pKey
@param array  $columns
To avoid duplicate row when LEFT JOIN if GROUP BY is not set