simple_db 0.1.1

simple key value data base
Documentation
  • Coverage
  • 12.5%
    1 out of 8 items documented0 out of 7 items with examples
  • Size
  • Source code size: 3.55 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 244.28 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • AnasDEV2005/brudb
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • AnasDEV2005
simple_db-0.1.1 has been yanked.

simpleDB | key value database file store

use simple_db::SimpleDB;

Methods:

find save file, or create one

let mut database = SimpleDB::find_database("db.txt");

You have to .to_string() input values. Check example.

add (key, value) pair

database.insert_into_db(key, value);

get value by id (key)

database.get_value_from_db(key)

delete value by key

database.delete_from_db(key)

to access the data (a hashmap)

database.data //... whatever action