salt.modules.inspectlib.dbhandle.
DBHandle
(path)
salt.modules.inspectlib.dbhandle.
DBHandleBase
(path)
Handle for the volatile database, which serves the purpose of caching the inspected data. This database can be destroyed or corrupted, so it should be simply re-created from scratch.
close
()
Close the database connection.
flush
(table)
Flush the table.
open
(new=False)
Init the database, if required.
purge
()
Purge whole database.
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.inspectlib.dbhandle.html