# simpleDB | key value database file store

use in main.rs ```rust use simple_db::SimpleDB; ```

#### Methods: find save file, or create one ```rust let mut database = SimpleDB::find_database("db.txt"); ``` You have to ``.to_string()`` input values. Check example. add (key, value) pair ```rust database.insert_into_db(key, value); ``` get value by id (key) ```rust database.get_value_from_db(key) ``` delete value by key ```rust database.delete_from_db(key) ``` to access the data (a hashmap) ```rust database.data //... whatever action ```