Bo Maryniuk <bo@suse.de>
salt.modules.inspectlib.fsdb.
CsvDB
(path)File-based CSV database. This database is in-memory operating relatively small plain text csv files.
create_table_from_object
(obj)Create a table from the object. NOTE: This method doesn't stores anything.
obj --
delete
(obj, matches=None, mt=None, lt=None, eq=None)Delete object from the database.
obj --
matches --
mt --
lt --
eq --
get
(obj, matches=None, mt=None, lt=None, eq=None)Get objects from the table.
table_name --
matches -- Regexp.
mt -- More than.
lt -- Less than.
eq -- Equals.
open
(dbname=None)Open database from the path with the name or latest. If there are no yet databases, create a new implicitly.