public function getDatabase() { return $this->_driver->getDatabase($this); }
private function getTableNames() { $tableNames = []; foreach ($this->connection->fetchAll('SHOW TABLES') as $row) { $tableNames[] = $row['Tables_in_' . $this->connection->getDatabase()]; } return $tableNames; }