§
w<ˆj– ã óž — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ G d„ d e¦ « Z G d
„ de¦ « Z
G d„ d
e¦ « ZeZdS )a
.. dialect:: mysql+oursql
:name: OurSQL
:dbapi: oursql
:connectstring: mysql+oursql://:@[:]/
:url: http://packages.python.org/oursql/
.. note::
The OurSQL MySQL dialect is legacy and is no longer supported upstream,
and is **not tested as part of SQLAlchemy's continuous integration**.
The recommended MySQL dialects are mysqlclient and PyMySQL.
Unicode
-------
Please see :ref:`mysql_unicode` for current recommendations on unicode
handling.
é )ÚBIT)ÚMySQLDialect)ÚMySQLExecutionContexté )Útypes)Úutilc ó — e Zd Zd„ ZdS )Ú
_oursqlBITc ó — dS )z'oursql already converts mysql bits, so.N© )ÚselfÚdialectÚcoltypes út/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/sqlalchemy/dialects/mysql/oursql.pyÚresult_processorz_oursqlBIT.result_processor( s € ð ˆtó N)Ú__name__Ú
__module__Ú__qualname__r r r r r
r
' s# € € € € € ðð ð ð ð r r
c ó$ — e Zd Zed„ ¦ « ZdS )ÚMySQLExecutionContext_oursqlc ó8 — | j dd¦ « S )NÚ_oursql_plain_queryF)Úexecution_optionsÚget)r
s r Úplain_queryz(MySQLExecutionContext_oursql.plain_query/ s € àÔ%×)Ò)Ð*?ÀÑGÔGÐGr N)r r r Úpropertyr r r r r r . s2 € € € € € Ø
ðHð Hñ „XðHð Hð Hr r c ó8 — e Zd ZdZej rdZdZdZdZ dZ
eZ ej
ej ej ej eei¦ « Zed„ ¦ « Zdd„Zd„ Zd„ Zd„ Zd „ Z dd„Z dd„Zdd
„Zdd„Zdd„Zdd„Z dd„Z!d„ Z"d„ Z# dd„Z$d„ Z%d„ Z&d„ Z'd„ Z(dd„Z)dd„Z*dd„Z+dS )ÚMySQLDialect_oursqlÚoursqlTc ó — t d¦ « S )Nr )Ú
__import__)Úclss r ÚdbapizMySQLDialect_oursql.dbapiE s € å˜(Ñ#Ô#Ð#r Nc óv — |r |j r| |d¬¦ « dS | ||¦ « dS )zMProvide an implementation of
*cursor.execute(statement, parameters)*.T©r N)r Úexecute)r
ÚcursorÚ statementÚ
parametersÚcontexts r Ú
do_executezMySQLDialect_oursql.do_executeI sL € ð ð 2�wÔ*ð 2Ø�NŠN˜9°$ˆNÑ7Ô7Ð7Ð7Ð7à�NŠN˜9 jÑ1Ô1Ð1Ð1Ð1r c óX — | ¦ « dd¬¦ « d S )NÚBEGINTr&