1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
from typing import Any
RE_INSERT_VALUES: Any
class BaseCursor:
from ._exceptions import (
DatabaseError as DatabaseError,
DataError as DataError,
Error as Error,
IntegrityError as IntegrityError,
InterfaceError as InterfaceError,
InternalError as InternalError,
MySQLError as MySQLError,
NotSupportedError as NotSupportedError,
OperationalError as OperationalError,
ProgrammingError as ProgrammingError,
Warning as Warning,
)
max_stmt_length: Any
connection: Any
description: Any
description_flags: Any
rowcount: int
arraysize: int
lastrowid: Any
rownumber: Any
def __init__(self, connection) -> None: ...
def close(self) -> None: ...
def __enter__(self): ...
def __exit__(self, *exc_info) -> None: ...
def nextset(self): ...
def setinputsizes(self, *args) -> None: ...
def setoutputsizes(self, *args) -> None: ...
def execute(self, query, args: Any | None = ...): ...
def executemany(self, query: str, args: list[Any]) -> int: ...
def callproc(self, procname, args=...): ...
def __iter__(self): ...
class CursorStoreResultMixIn:
rownumber: Any
def fetchone(self): ...
def fetchmany(self, size: Any | None = ...): ...
def fetchall(self): ...
def scroll(self, value, mode: str = ...) -> None: ...
def __iter__(self): ...
class CursorUseResultMixIn:
rownumber: Any
def fetchone(self): ...
def fetchmany(self, size: Any | None = ...): ...
def fetchall(self): ...
def __iter__(self): ...
def next(self): ...
__next__: Any
class CursorTupleRowsMixIn: ...
class CursorDictRowsMixIn: ...
class Cursor(CursorStoreResultMixIn, CursorTupleRowsMixIn, BaseCursor): ...
class DictCursor(CursorStoreResultMixIn, CursorDictRowsMixIn, BaseCursor): ...
class SSCursor(CursorUseResultMixIn, CursorTupleRowsMixIn, BaseCursor): ...
class SSDictCursor(CursorUseResultMixIn, CursorDictRowsMixIn, BaseCursor): ...
|