protected function implodeSQL(array $parts): string
    {
        $result = '';
        foreach ($parts as $part) {
            if ($part === '') {
                continue;
            }

            $result .= ($result === '' ? '' : "\n").$part;
        }

        return $result;
    }
protected function implodeSQL(array $parts): string
    {
        $result = '';
        foreach ($parts as $part) {
            if ($part === '') {
                continue;
            }

            $result .= ($result === '' ? '' : "\n").$part;
        }

        return $result;
    }
protected function implodeSQL ( array $ parts ) : string { $ result = '' ; foreach ( $ parts as $ part ) { if ( $ part === '' ) { continue ; } $ result .= ( $ result === '' ? '' : "\n" ) . $ part ; } return $ result ; }
Implodes parts of SQL query to a single string.

@param string[] $parts
@return string
Implodes parts of SQL query to a single string .