|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /usr/lib64/python2.7/site-packages/sqlalchemy/dialects/firebird/ |
Upload File : |
�
���\c @ s� d Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m
Z
d
e f d � � YZ d e e j
f d
� � YZ d e e j f d � � YZ d e f d � � YZ d e f d � � YZ e Z d S( sK
.. dialect:: firebird+kinterbasdb
:name: kinterbasdb
:dbapi: kinterbasdb
:connectstring: firebird+kinterbasdb://user:password@host:port/path/to/db[?key=value&key=value...]
:url: http://firebirdsql.org/index.php?op=devel&sub=python
Arguments
----------
The Kinterbasdb backend accepts the ``enable_rowcount`` and ``retaining``
arguments accepted by the :mod:`sqlalchemy.dialects.firebird.fdb` dialect.
In addition, it also accepts the following:
* ``type_conv`` - select the kind of mapping done on the types: by default
SQLAlchemy uses 200 with Unicode, datetime and decimal support. See
the linked documents below for further information.
* ``concurrency_level`` - set the backend policy with regards to threading
issues: by default SQLAlchemy uses policy 1. See the linked documents
below for further information.
.. seealso::
http://sourceforge.net/projects/kinterbasdb
http://kinterbasdb.sourceforge.net/dist_docs/usage.html#adv_param_conv_dynamic_type_translation
http://kinterbasdb.sourceforge.net/dist_docs/usage.html#special_issue_concurrency
i����N( t matchi ( t FBDialect( t FBExecutionContexti ( t types( t utilt _kinterbasdb_numericc B s e Z d � Z RS( c C s
d � } | S( Nc S s$ t | t j � r t | � S| Sd S( N( t
isinstancet decimalt Decimalt str( t value( ( sN /usr/lib64/python2.7/site-packages/sqlalchemy/dialects/firebird/kinterbasdb.pyt process3 s
( ( t selft dialectR ( ( sN /usr/lib64/python2.7/site-packages/sqlalchemy/dialects/firebird/kinterbasdb.pyt bind_processor2 s ( t __name__t
__module__R ( ( ( sN /usr/lib64/python2.7/site-packages/sqlalchemy/dialects/firebird/kinterbasdb.pyR 1 s t _FBNumeric_kinterbasdbc B s e Z RS( ( R R ( ( ( sN /usr/lib64/python2.7/site-packages/sqlalchemy/dialects/firebird/kinterbasdb.pyR <