-
Notifications
You must be signed in to change notification settings - Fork 0
/
cursors.pyi
48 lines (44 loc) · 1.78 KB
/
cursors.pyi
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
# Stubs for pymysql.cursors (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from .err import Warning as Warning, Error as Error, InterfaceError as InterfaceError, DataError as DataError, DatabaseError as DatabaseError, OperationalError as OperationalError, IntegrityError as IntegrityError, InternalError as InternalError, NotSupportedError as NotSupportedError, ProgrammingError as ProgrammingError
insert_values = ... # type: Any
class Cursor:
connection = ... # type: Any
description = ... # type: Any
rownumber = ... # type: Any
rowcount = ... # type: Any
arraysize = ... # type: Any
messages = ... # type: Any
errorhandler = ... # type: Any
def __init__(self, connection): ...
def __del__(self): ...
def close(self): ...
def setinputsizes(self, *args): ...
def setoutputsizes(self, *args): ...
def nextset(self): ...
def execute(self, query, args=None): ...
def executemany(self, query, args): ...
def callproc(self, procname, args=...): ...
def fetchone(self): ...
def fetchmany(self, size=None): ...
def fetchall(self): ...
def scroll(self, value, mode=''): ...
def __iter__(self): ...
Warning = ... # type: Any
Error = ... # type: Any
InterfaceError = ... # type: Any
DatabaseError = ... # type: Any
DataError = ... # type: Any
OperationalError = ... # type: Any
IntegrityError = ... # type: Any
InternalError = ... # type: Any
ProgrammingError = ... # type: Any
NotSupportedError = ... # type: Any
class DictCursor(Cursor):
def execute(self, query, args=None): ...
def fetchone(self): ...
rownumber = ... # type: Any
def fetchmany(self, size=None): ...
def fetchall(self): ...