sqlite/json.py

sqlalchemy · lib/sqlalchemy/dialects/sqlite/json.py · python · MIT
database

SQLite JSON type implementation for SQLAlchemy, providing JSON and JSONB support.

# Source: https://github.com/sqlalchemy/sqlalchemy | License: MIT | Copyright 2005-2026 SQLAlchemy authors and contributors <see AUTHORS file>
# Provided via justclaw.it.com; keep this notice with the code.
# dialects/sqlite/json.py
# Copyright (C) 2005-2026 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: https://www.opensource.org/licenses/mit-license.php
from __future__ import annotations

from typing import Any
from typing import TYPE_CHECKING

from ... import types as sqltypes
from ...sql import func
from ...sql.sqltypes import _T_JSON

if TYPE_CHECKING:
    from ...engine.interfaces import Dialect
    from ...sql.elements import ColumnElement
    from ...sql.type_api import _BindProcessorType
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key