~.sqlite
SQLiteBackend
Bases: Backend
Use SQLite as the persistent cache backend.
Create a new SQLite persistent backend.
| PARAMETER | DESCRIPTION |
|---|---|
filepath
|
The path to the |
backup_interval
|
If
TYPE:
|
batch_size
|
The size of each batched SQL execution. Iterated reads and writes will occur in batches of this amount.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
ImportError
|
If |
TypeError
|
|
ValueError
|
|
VERSION
class-attribute
instance-attribute
VERSION: int = 1
The database schema version; updated for automatic migrations.
Warning
Automatic migrations will not occur until 1.0.0.
Until then, each update requires a deletion of cache.