httk.store.backend.sqlite.engine ================================ .. py:module:: httk.store.backend.sqlite.engine .. autoapi-nested-parse:: SQLite database construction for :class:`~httk.store.backend.sql.engine.Backend`. Functions --------- .. autoapisummary:: httk.store.backend.sqlite.engine.database Module Contents --------------- .. py:function:: database(cls, path = None, *, degraded = False) Build an SQLite-backed backend stored in ``path``, or in memory when ``path`` is None. The in-memory variant is configured (via a static connection pool with a shared, thread-unrestricted connection) so that every connection drawn from the engine sees the one and same database; file-backed databases use SQLAlchemy's default pooling. :param cls: The backend class to instantiate. :param path: The database file path, or ``None`` for an in-memory database. :param degraded: Open with autocommit isolation for degraded-mode access (recovery and inspection) instead of the default transactional isolation. :return: The configured backend wrapper.