public function parse($query=null)
    {
        $query = $this->checkQuery($query);
        
        // sql log
        Ioc::logger('db')->debug($query->all());
        
        return $this->getParser()->parse($query);
    }