Hacked By AnonymousFox
�
�܋f% � � � d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ dd lm
Z
G d
� de� � Z G d� d
ee j
� � Z G d� dee j � � Z G d� de� � Z G d� de� � ZeZdS )aK
.. 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
� N)�match� )� FBDialect)�FBExecutionContext� )�types)�utilc � � e Zd Zd� ZdS )�_kinterbasdb_numericc � � d� }|S )Nc �X � t | t j � � rt | � � S | S �N)�
isinstance�decimal�Decimal�str)�values �{/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/sqlalchemy/dialects/firebird/kinterbasdb.py�processz4_kinterbasdb_numeric.bind_processor.<locals>.process3 s'