codeauthor: | 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.
Parameters: | obj -- |
---|---|
Returns: |
delete
(obj, matches=None, mt=None, lt=None, eq=None)Delete object from the database.
Parameters: |
|
---|---|
Returns: |
get
(obj, matches=None, mt=None, lt=None, eq=None)Get objects from the table.
Parameters: |
|
---|---|
Returns: |
open
(dbname=None)Open database from the path with the name or latest. If there are no yet databases, create a new implicitly.
Returns: |
---|