forked from FirebirdSQL/python3-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathref-main.txt
More file actions
84 lines (58 loc) · 2.21 KB
/
ref-main.txt
File metadata and controls
84 lines (58 loc) · 2.21 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
=====================
Main driver namespace
=====================
.. module:: firebird.driver
:synopsis: Python 3+ Database API 2.0 Compliant driver for Firebird 3+
Constants
=========
.. autodata:: __VERSION__
:no-value:
Imports from sub-modules
========================
config
------
.. py:currentmodule:: firebird.driver.config
Globals: `driver_config`
core
----
.. py:currentmodule:: firebird.driver.core
Functions:
`connect()`, `create_database()`, `connect_server()`, `transaction()` and `tpb()`
Translation dictionaries:
`CHARSET_MAP`
Classes:
`DistributedTransactionManager`, `Connection`, `Cursor`, `Server` and `TPB`
types
-----
.. py:currentmodule:: firebird.driver.types
Exceptions:
`Warning`, `Error`, `InterfaceError`, `DatabaseError`, `DataError`,
`OperationalError`, `IntegrityError`, `InternalError`, `ProgrammingError`
and `NotSupportedError`
Enums:
`NetProtocol`, `DirectoryCode`, `PageSize`, `DBKeyScope`, `DbInfoCode`, `Features`,
`TraInfoCode`, `ReplicaMode`, `StmtInfoCode`, `TraInfoIsolation`,
`TraInfoReadCommitted`, `TraInfoAccess`, `TraIsolation`, `TraReadCommitted`,
`TraLockResolution`, `TraAccessMode`, `TableShareMode`, `TableAccessMode`, `Isolation`,
`DefaultAction`, `StatementType`, `BlobType`, `DbAccessMode`, `DbSpaceReservation`,
`DbWriteMode`, `ShutdownMode`, `OnlineMode`, `ShutdownMethod`, `CancelType`,
`DecfloatRound` and `DecfloatTraps`
Sentinels:
`~firebird.driver.core.TIMEOUT`
Flags:
`ServerCapability`, `SrvRepairFlag`, `SrvStatFlag`, `SrvBackupFlag`,
`SrvRestoreFlag`, `SrvNBackupFlag`, `ConnectionFlag` and `EncryptionFlag`
Globals and other objects required by Python DB API 2.0:
`apilevel`, `threadsafety`, `paramstyle`, `Date`, `Time`, `Timestamp`,
`DateFromTicks`, `TimeFromTicks`, `TimestampFromTicks`, `STRING`, `BINARY`,
`NUMBER`, `DATETIME` and `ROWID`
Helper constants:
`DESCRIPTION_NAME`, `DESCRIPTION_TYPE_CODE`, `DESCRIPTION_DISPLAY_SIZE`,
`DESCRIPTION_INTERNAL_SIZE`, `DESCRIPTION_PRECISION`, `DESCRIPTION_SCALE`
and `DESCRIPTION_NULL_OK`
Helper functions:
`get_timezone()`
fbapi
-----
.. py:currentmodule:: firebird.driver.fbapi
Functions `load_api()` and `get_api()`.