AsyncSqliteCacheManager¶
-
class
privex.helpers.cache.post_deps.
AsyncSqliteCacheManager
(db: str = None, isolation_level=None, **kwargs)[source]¶ -
__init__
(db: str = None, isolation_level=None, **kwargs) - Parameters
db (str) – Relative / absolute path to SQLite3 database file to use.
isolation_level – Isolation level for SQLite3 connection. Defaults to
None
(autocommit). See the Python SQLite3 Docs for more information.
- Key int db_timeout
Amount of time to wait for any SQLite3 locks to expire before giving up
- Key str query_mode
Either
'flat'
(query returns tuples) or'dict'
(query returns dicts). More details in PyDoc block underquery_mode
-
Methods¶
Methods
|
|
|
|
|
|
|
|
|
|
|
Creates a database connection using |
|
|
|