src/Structure/Table.php
private function getTableSchema(): ?Row
	{
		return $this->connection->query("
			SELECT 
				[tab.ENGINE],
				[col.COLLATION_NAME],
				[col.CHARACTER_SET_NAME]
			FROM [information_schema.TABLES] tab
			JOIN [information_schema.COLLATION_CHARACTER_SET_APPLICABILITY] col ON [tab.TABLE_COLLATION] = [col.COLLATION_NAME]
			WHERE [tab.TABLE_SCHEMA] = %s
				AND [tab.TABLE_NAME] = %s",
			$this->database,
			$this->name)->fetch();
	}
private function getTableSchema(): ?Row
	{
		return $this->connection->query("
			SELECT 
				[tab.ENGINE],
				[col.COLLATION_NAME],
				[col.CHARACTER_SET_NAME]
			FROM [information_schema.TABLES] tab
			JOIN [information_schema.COLLATION_CHARACTER_SET_APPLICABILITY] col ON [tab.TABLE_COLLATION] = [col.COLLATION_NAME]
			WHERE [tab.TABLE_SCHEMA] = %s
				AND [tab.TABLE_NAME] = %s",
			$this->database,
			$this->name)->fetch();
	}
Vrati schema tabulky
@return Row|null
@throws QueryException