public function getQuery($withValues = false) {
        return $withValues ? $this->createQuery() . '<pre><code>' . print_r($this->getQueryValues(),
                        true) . '</code></pre>' : $this->createQuery();
    }