def format_schema_to_markdown(self) -> str:
        """
        Generates a markdown representation of the schema for all keyspaces and tables
        within the CassandraDatabase instance.

        This method utilizes the format_keyspace_to_markdown method to create markdown
        sections for each keyspace, assembling them into a comprehensive schema document.

        Iterates through each keyspace in the database, utilizing format_keyspace_to_markdown
        to generate markdown for each keyspace's schema, including details of its tables.
        These sections are concatenated to form a single markdown document that represents
        the schema of the entire database or the subset of keyspaces that have been resolved
        in this instance.

        Returns:
            str: A markdown string that documents the schema of all resolved keyspaces and
            their tables within this CassandraDatabase instance. This includes keyspace names,
            table names, comments, columns, partition keys, clustering keys, and indexes for
            each table.

        """
        schema = self._resolve_schema()
        output = "# Cassandra Database Schema\n\n"
        for keyspace, tables in schema.items():
            output += f"{self.format_keyspace_to_markdown(keyspace, tables)}\n\n"
        return output

        Generates a markdown representation of the schema for all keyspaces and tables
        within the CassandraDatabase instance.

        This method utilizes the format_keyspace_to_markdown method to create markdown
        sections for each keyspace, assembling them into a comprehensive schema document.

        Iterates through each keyspace in the database, utilizing format_keyspace_to_markdown
        to generate markdown for each keyspace's schema, including details of its tables.
        These sections are concatenated to form a single markdown document that represents
        the schema of the entire database or the subset of keyspaces that have been resolved
        in this instance.

        Returns:
            str: A markdown string that documents the schema of all resolved keyspaces and
            their tables within this CassandraDatabase instance. This includes keyspace names,
            table names, comments, columns, partition keys, clustering keys, and indexes for
            each table.

        
llama-index-integrations/tools/llama-index-tools-cassandra/llama_index/tools/cassandra/cassandra_database_wrapper.py