public function getTableRows(string $tableName)
    {
        $statement = $this->connection->prepare("SELECT * FROM information_schema.columns WHERE table_catalog = :database AND table_name = :table");
        $statement->execute([
            ':database' => $this->Databaser->database,
            ':table'    => $tableName
        ]);

        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }
public function getTableRows(string $tableName)
    {
        $statement = $this->connection->prepare("SELECT * FROM information_schema.columns WHERE table_catalog = :database AND table_name = :table");
        $statement->execute([
            ':database' => $this->Databaser->database,
            ':table'    => $tableName
        ]);

        return $statement->fetchAll(\PDO::FETCH_ASSOC);
    }
public function getTableRows ( string $ tableName ) { $ statement = $ this -> connection -> prepare ( "SELECT * FROM information_schema.columns WHERE table_catalog = :database AND table_name = :table" ) ; $ statement -> execute ( [ ':database' => $ this -> Databaser -> database , ':table' => $ tableName ] ) ; return $ statement -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; }
Get all rows for all tables
Get all rows for all tables