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
3c026bbde3
commit
c10ecf3855
@@ -59,6 +59,7 @@ class Cursor(BaseCursor):
|
|||||||
def dictfetchone(self) -> dict[str, Any] | None: ...
|
def dictfetchone(self) -> dict[str, Any] | None: ...
|
||||||
def dictfetchmany(self, size) -> list[dict[str, Any]]: ...
|
def dictfetchmany(self, size) -> list[dict[str, Any]]: ...
|
||||||
def dictfetchall(self) -> list[dict[str, Any]]: ...
|
def dictfetchall(self) -> list[dict[str, Any]]: ...
|
||||||
|
def fetchall(self) -> list[tuple]: ...
|
||||||
def __del__(self) -> None: ...
|
def __del__(self) -> None: ...
|
||||||
def execute(self, query, params: Any | None = ..., log_exceptions: bool = ...): ...
|
def execute(self, query, params: Any | None = ..., log_exceptions: bool = ...): ...
|
||||||
def split_for_in_conditions(
|
def split_for_in_conditions(
|
||||||
|
|||||||
Reference in New Issue
Block a user