Files
sqlalchemy/doc/build/dialects/sqlite.rst
T
Ilja Everilä 62d59088df Sqlite json
Added support for SQLite's json functionality via the new
SQLite implementation for :class:`.sqltypes.JSON`, :class:`.sqlite.JSON`.
The name used for the type is ``JSON``, following an example found at
SQLite's own documentation. Pull request courtesy Ilja Everilä.

Fixes: #3850
Change-Id: I3d2714fb8655343a99d13dc751b16b93d05d7dda
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/434
2018-07-10 18:55:31 -04:00

39 lines
835 B
ReStructuredText

.. _sqlite_toplevel:
SQLite
======
.. automodule:: sqlalchemy.dialects.sqlite.base
SQLite Data Types
-----------------
As with all SQLAlchemy dialects, all UPPERCASE types that are known to be
valid with SQLite are importable from the top level dialect, whether
they originate from :mod:`sqlalchemy.types` or from the local dialect::
from sqlalchemy.dialects.sqlite import \
BLOB, BOOLEAN, CHAR, DATE, DATETIME, DECIMAL, FLOAT, \
INTEGER, NUMERIC, JSON, SMALLINT, TEXT, TIME, TIMESTAMP, \
VARCHAR
.. module:: sqlalchemy.dialects.sqlite
.. autoclass:: DATETIME
.. autoclass:: DATE
.. autoclass:: JSON
.. autoclass:: TIME
Pysqlite
--------
.. automodule:: sqlalchemy.dialects.sqlite.pysqlite
Pysqlcipher
-----------
.. automodule:: sqlalchemy.dialects.sqlite.pysqlcipher