관리-도구
편집 파일: psycopg2cffi.cpython-38.pyc
U -?�f� � @ s4 d Z ddlmZ ddlmZ G dd� de�ZeZdS )a� .. dialect:: postgresql+psycopg2cffi :name: psycopg2cffi :dbapi: psycopg2cffi :connectstring: postgresql+psycopg2cffi://user:password@host:port/dbname[?key=value&key=value...] :url: https://pypi.org/project/psycopg2cffi/ ``psycopg2cffi`` is an adaptation of ``psycopg2``, using CFFI for the C layer. This makes it suitable for use in e.g. PyPy. Documentation is as per ``psycopg2``. .. seealso:: :mod:`sqlalchemy.dialects.postgresql.psycopg2` � )�PGDialect_psycopg2� )�utilc @ sR e Zd ZdZdZdZedddddd�Zedd� �Z e jdd � �Ze jd d� �Z dS ) �PGDialect_psycopg2cffi�psycopg2cffiT)� � r )r � r )Znative_jsonZnative_jsonbZsane_multi_rowcountZ array_oidZhstore_adapterc C s t d�S )Nr )� __import__)�cls� r �[/opt/hc_python/lib64/python3.8/site-packages/sqlalchemy/dialects/postgresql/psycopg2cffi.py�import_dbapi. s z#PGDialect_psycopg2cffi.import_dbapic C s t ddgd�}|jS )Nr � extensions��fromlist)r r �r �rootr r r �_psycopg2_extensions2 s z+PGDialect_psycopg2cffi._psycopg2_extensionsc C s t ddgd�}|jS )Nr �extrasr )r r r r r r �_psycopg2_extras7 s z'PGDialect_psycopg2cffi._psycopg2_extrasN)�__name__� __module__�__qualname__ZdriverZsupports_unicode_statementsZsupports_statement_cache�dictZFEATURE_VERSION_MAP�classmethodr r Zmemoized_propertyr r r r r r r s � r N)�__doc__Zpsycopg2r � r r �dialectr r r r �<module> s