code: public function describeTable(string $schemaName, string $tableName): array
      {
          $tables = $this->fetchAll(sprintf(
              "SHOW TABLES LIKE %s IN SCHEMA %s",
              "'" . addslashes($tableName) . "'",
              $this->quoteIdentifier($schemaName)
          ));
  
          foreach ($tables as $table) {
              if ($table['name'] === $tableName) {
                  return $table;
              }
          }
  
          throw new Exception("Table $tableName not found in schema $schemaName");
      }
docs: Returns information about table:
  - name
  - bytes
  - rows
  @param string $schemaName
  @param string $tableName
  @return array
  @throws Exception