Module Interface Constants

The constants used for the extension module interface.

apilevel

String constant stating the supported DB API level. The default value is 2.0.

class sybpydb.apilevel
paramstyle
String constant stating the type of parameter marker formatting expected by the interface. The value for this constant is qmark. The interface expects question mark style parameter formatting, for example:
'...WHERE name=?'
class sybpydb.paramstyle
threadsafety

Integer constant stating the level of thread safety that the interface supports. The threadsafety constant value for the module is 1, which indicates that the module can be shared but not the connections.

class sybpydb.threadsafety