Add fetchall method to sql_db.pyi

This addition enhances the functionality of the database interface by allowing retrieval of all rows in a query result as tuples. It complements existing methods like dictfetchall and provides more options for data handling.
This commit is contained in:
Chris Busillo
2024-07-20 13:59:47 -04:00
committed by Trinh Anh Ngoc
parent fe09616703
commit 82564547e7

View File

@@ -51,6 +51,7 @@ class Cursor(BaseCursor):
def dictfetchone(self) -> dict[str, Any] | None: ...
def dictfetchmany(self, size) -> list[dict[str, Any]]: ...
def dictfetchall(self) -> list[dict[str, Any]]: ...
def fetchall(self) -> list[tuple]: ...
def __del__(self) -> None: ...
def execute(
self, query, params: Any | None = ..., log_exceptions: Any | None = ...