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
fe09616703
commit
82564547e7
@@ -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 = ...
|
||||
|
||||
Reference in New Issue
Block a user