public function dropDatabase(): void
	{
		$tables = $this->getTables();
		if (!empty($tables)) {
			$this->connection->query('SET foreign_key_checks = 0');
			foreach ($tables as $table) {
				$this->connection->query('DROP TABLE %table', $table);
			}
			$this->connection->query('SET foreign_key_checks = 1');
		}
	}
public function dropDatabase(): void
	{
		$tables = $this->getTables();
		if (!empty($tables)) {
			$this->connection->query('SET foreign_key_checks = 0');
			foreach ($tables as $table) {
				$this->connection->query('DROP TABLE %table', $table);
			}
			$this->connection->query('SET foreign_key_checks = 1');
		}
	}
public function dropDatabase ( ) : void { $ tables = $ this -> getTables ( ) ; if ( ! empty ( $ tables ) ) { $ this -> connection -> query ( 'SET foreign_key_checks = 0' ) ; foreach ( $ tables as $ table ) { $ this -> connection -> query ( 'DROP TABLE %table' , $ table ) ; } $ this -> connection -> query ( 'SET foreign_key_checks = 1' ) ; } }
Smaze vsechny tabulky v databazi
@throws QueryException
Smaze vsechny tabulky v databazi