File tree Expand file tree Collapse file tree 4 files changed +15
-44
lines changed Expand file tree Collapse file tree 4 files changed +15
-44
lines changed Original file line number Diff line number Diff line change 1
- ''' MariaDB client flags
1
+ '''
2
+ MariaDB client flags (internal use only).
2
3
3
4
These flags are used when establishing a connection to a MariaDB
4
5
database server or to check the capabilities of a MariaDB server.
6
+
7
+ Client flags are defined in module *mariadb.constants.CLIENT_FLAG*
5
8
'''
6
9
7
10
MYSQL = 1 # MariaDB
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
"""MariaDB FIELD_FLAG Constants
2
2
3
- These constants represent the various field flags that are
4
- supported by MariaDB.
3
+ These constants represent the various field flags. As an addition
4
+ to the DBAPI 2.0 standard (PEP-249) these flags are returned as
5
+ eigth element of the cursor description attribute.
6
+
7
+ Field flags are defined in module *mariadb.constants.FIELD_FLAG*
5
8
"""
6
9
7
10
# Source: mariadb_com.h (MariaDB Connector(C)
Original file line number Diff line number Diff line change 1
- """MariaDB FIELD_TYPE Constants
2
-
3
- These constants represent the various field types that are
4
- supported by MariaDB.
5
1
"""
2
+ MariaDB FIELD_TYPE Constants
3
+
4
+ These constants represent the field types supported by MariaDB.
5
+ The field type is returned as second element of cursor description attribute.
6
6
7
- # Source: mariadb_com.h (MariaDB Connector(C)
7
+ Field types are defined in module *mariadb.constants.FIELD_TYPE*
8
+ """
8
9
9
10
DECIMAL = 0
10
11
TINY = 1
You can’t perform that action at this time.
0 commit comments