relstorage.adapters.sqlite.drivers

class Sqlite3Driver[source]

Bases: relstorage.adapters.drivers.MemoryViewBlobDriverMixin, relstorage.adapters.drivers.AbstractModuleDriver

CONNECTION_FACTORY

alias of relstorage.adapters.sqlite.drivers.Connection

connect_to_file(fname, query_only=False, max_wal_size=10485760, mmap_size=None, page_size=4096, cache_size=None, temp_store=None, timeout=15, quick_check=True, isolation_level=None, extra_pragmas=None, override_pragmas=None)[source]

Return a DB-API Connection object.

Caution

Using the connection as a context manager does not result in the connection being closed, only committed or rolled back.

class Sqlite3GeventDriver[source]

Bases: relstorage.adapters.drivers._NoGeventDriverMixin, relstorage.adapters.sqlite.drivers.Sqlite3Driver

CONNECTION_FACTORY

alias of relstorage.adapters.sqlite.drivers.GeventConnection

configure_from_options(options)[source]

Default implementation; does nothing.

enter_critical_phase_until_transaction_end(connection, cursor)[source]

Default implementation; does nothing.

exit_critical_phase(connection, cursor)[source]

Default implementation; does nothing.

is_in_critical_phase(connection, cursor)[source]

Default implementation; returns a false value.