relstorage.adapters.sqlite.drivers
¶
- class Sqlite3Driver[source]¶
Bases:
MemoryViewBlobDriverMixin
,AbstractModuleDriver
- CONNECTION_FACTORY¶
alias of
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.
- MODULE_NAME = 'sqlite3'¶
The name of the DB-API module to import.
- STATIC_AVAILABLE = True¶
Set this to a false value if your subclass can do static checks at import time to determine it should not be used. Helpful for things like Python version detection.