Doclite is a local development NoSQL Document based Database. All the database is stored in a single file.
You can run the source code
cargo run
or build it
cargo build
You can also install in your system (Unix-based system works, windows dont know) running the installation file
sudo ./install.sh
You can run the CLI with
doclite [path to file]
- .exit -> Exit from database
- create [table name] -> Creates a table with the specified name
- peek -> Returns the tables in that database
- insert [table name] [json] -> Inserts the json to the table specified
- find [table name] [json] -> Searchs for the specified keys/values in the table
- delete [table name] [json] -> Searchs and deletes the specified keys/values in the table
- commit -> Saves all the changes to disk