관리-도구
편집 파일: mysqldb.cpython-311.pyc
� �܋f8! � �� � d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ d d lm Z d dlm Z G d� d e� � Z G d� de� � Z G d� de� � Z G d� de� � ZeZdS )a .. dialect:: mysql+mysqldb :name: mysqlclient (maintained fork of MySQL-Python) :dbapi: mysqldb :connectstring: mysql+mysqldb://<user>:<password>@<host>[:<port>]/<dbname> :url: https://pypi.org/project/mysqlclient/ Driver Status ------------- The mysqlclient DBAPI is a maintained fork of the `MySQL-Python <http://sourceforge.net/projects/mysql-python>`_ DBAPI that is no longer maintained. `mysqlclient`_ supports Python 2 and Python 3 and is very stable. .. _mysqlclient: https://github.com/PyMySQL/mysqlclient-python .. _mysqldb_unicode: Unicode ------- Please see :ref:`mysql_unicode` for current recommendations on unicode handling. Using MySQLdb with Google Cloud SQL ----------------------------------- Google Cloud SQL now recommends use of the MySQLdb dialect. Connect using a URL like the following:: mysql+mysqldb://root@/<dbname>?unix_socket=/cloudsql/<projectid>:<instancename> Server Side Cursors ------------------- The mysqldb dialect supports server-side cursors. See :ref:`mysql_ss_cursors`. � N� )� MySQLCompiler)�MySQLDialect)�MySQLExecutionContext)�MySQLIdentifierPreparer)�TEXT� )�sql)�utilc �$ � e Zd Zed� � � ZdS )�MySQLExecutionContext_mysqldbc �H � t | d� � r| j S | j j S )N� _rowcount)�hasattrr �cursor�rowcount)�selfs �X/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/dialects/mysql/mysqldb.pyr z&MySQLExecutionContext_mysqldb.rowcount>