gws.plugin.storage_provider.sqlite
¶
Source code: gws.plugin.storage_provider.sqlite
Package Contents¶
- class gws.plugin.storage_provider.sqlite.Config(*args, **kwargs)¶
Bases:
gws.Config
Configuration for sqlite storage.
- path: str | None¶
storage path
- class gws.plugin.storage_provider.sqlite.Object¶
Bases:
gws.StorageProvider
Storage provider.
- tableName = 'storage'¶
- dbPath: str¶
- metaData: gws.lib.sa.MetaData¶
- engine: gws.lib.sa.Engine¶
- table: gws.lib.sa.Table¶
- configure()¶
Configuration hook.
- activate()¶
Activation hook.
- list_names(category)¶
- read(category, name)¶
- write(category, name, data, user_uid)¶
- delete(category, name)¶