6 from ._exceptions import (
7 DatabaseError as DatabaseError,
8 DataError as DataError,
10 IntegrityError as IntegrityError,
11 InterfaceError as InterfaceError,
12 InternalError as InternalError,
13 MySQLError as MySQLError,
14 NotSupportedError as NotSupportedError,
15 OperationalError as OperationalError,
16 ProgrammingError as ProgrammingError,
23 description_flags: Any
28 def __init__(self, connection) -> None: ...
29 def close(self) -> None: ...
30 def __enter__(self): ...
31 def __exit__(self, *exc_info) -> None: ...
32 def nextset(self): ...
33 def setinputsizes(self, *args) -> None: ...
34 def setoutputsizes(self, *args) -> None: ...
35 def execute(self, query, args: Any | None = ...): ...
36 def executemany(self, query: str, args: list[Any]) -> int: ...
37 def callproc(self, procname, args=...): ...
38 def __iter__(self): ...
40 class CursorStoreResultMixIn:
42 def fetchone(self): ...
43 def fetchmany(self, size: Any | None = ...): ...
44 def fetchall(self): ...
45 def scroll(self, value, mode: str = ...) -> None: ...
46 def __iter__(self): ...
48 class CursorUseResultMixIn:
50 def fetchone(self): ...
51 def fetchmany(self, size: Any | None = ...): ...
52 def fetchall(self): ...
53 def __iter__(self): ...
57 class CursorTupleRowsMixIn: ...
58 class CursorDictRowsMixIn: ...
59 class Cursor(CursorStoreResultMixIn, CursorTupleRowsMixIn, BaseCursor): ...
60 class DictCursor(CursorStoreResultMixIn, CursorDictRowsMixIn, BaseCursor): ...
61 class SSCursor(CursorUseResultMixIn, CursorTupleRowsMixIn, BaseCursor): ...
62 class SSDictCursor(CursorUseResultMixIn, CursorDictRowsMixIn, BaseCursor): ...