def _get_all_docs(reader: DatabaseReader, **kwargs) -> List[Document]:
    """Convenience wrapper that returns a list of Documents."""
    return reader.load_data(
        query="SELECT id, name, value FROM items ORDER BY id",
        **kwargs,
    )
Convenience wrapper that returns a list of Documents.
llama-index-integrations/readers/llama-index-readers-database/tests/test_readers_database.py