src/Driver/Quoter.php
protected function expression(string $identifier): string
    {
        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function ($match) {
            $identifier = $match[1];

            //Function name
            if ($this->hasExpressions($identifier)) {
                return $identifier;
            }

            return $this->quote($identifier);
        }, $identifier);
    }
protected function expression(string $identifier): string
    {
        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function ($match) {
            $identifier = $match[1];

            //Function name
            if ($this->hasExpressions($identifier)) {
                return $identifier;
            }

            return $this->quote($identifier);
        }, $identifier);
    }
protected function expression ( string $ identifier ) : string { return preg_replace_callback ( '/([a-z][0-9_a-z\.]*\(?)/i' , function ( $ match ) { $ identifier = $ match [ 1 ] ; //Function name if ( $ this -> hasExpressions ( $ identifier ) ) { return $ identifier ; } return $ this -> quote ( $ identifier ) ; } , $ identifier ) ; }
Quoting columns and tables in complex expression.

@param string $identifier
@return string
Quoting columns and tables in complex expression .