public function showQuery($logfile = false)
    {
        if (!$logfile) {
            echo "<div style='color:#990099; border:1px solid #777; padding:2px; background-color: #E5E5E5;'>";
            echo " Executed Query -> <span style='color:#008000;'> ";
            echo $this->helper()->formatSQL($this->interpolateQuery());
            echo '</span></div>';
        }

        file_put_contents($this->config['logDir'] . self::LOG_FILE,
            date('Y-m-d h:m:s') . ' :: ' . $this->interpolateQuery() . "\n", FILE_APPEND);

        return $this;
    }