public function getEngine()
    {
        if (!$this->_engine) {
            $table = $this->_database->query('SHOW TABLE STATUS LIKE ?', $this->_name);
            $this->_engine = $table[0]['engine'];
        }
        return $this->_engine;
    }