v' d dl mZ G d dej Z G d de Z G d deej j Z G d d eej j Zd
S ) )typesc e Zd ZdZdS )JSONa SQLite JSON type.
SQLite supports JSON as of version 3.9 through its JSON1_ extension. Note
that JSON1_ is a
`loadable extension `_ and as such
may not be available, or may require run-time loading.
The :class:`_sqlite.JSON` type supports persistence of JSON values
as well as the core index operations provided by :class:`_types.JSON`
datatype, by adapting the operations to render the ``JSON_EXTRACT``
function wrapped in the ``JSON_QUOTE`` function at the database level.
Extracted values are quoted in order to ensure that the results are
always JSON string values.
.. versionadded:: 1.3
.. seealso::
JSON1_
.. _JSON1: https://www.sqlite.org/json1.html
N)__name__
__module____qualname____doc__ s/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/sqlalchemy/dialects/sqlite/json.pyr r s r r c e Zd Zd Zd Zd ZdS )_FormatTypeMixinc t N)NotImplementedErrorselfvalues r
_format_valuez_FormatTypeMixin._format_value" s !###r c @ | fd}|S )Nc L | } r | } | S r r r r
super_procs r processz0_FormatTypeMixin.bind_processor..process( 2 &&u--E
*"
5))Lr )string_bind_processorr dialectr r s ` @r bind_processorz_FormatTypeMixin.bind_processor% s<