mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
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:
committed by
Trinh Anh Ngoc
parent
9feb1e9f65
commit
0cccf5d31e
@@ -33,6 +33,7 @@ class Cursor:
|
||||
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 = ...
|
||||
|
||||
Reference in New Issue
Block a user