salt.modules.inspectlib.dbhandle

class salt.modules.inspectlib.dbhandle.DBHandle(*args, **kwargs)
class 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.