A simple database based on SQLite written in C.
Download the repl.c file and put it in a directory.
Open the terminal and follow the commands below.
cd YOUR_DIRECTORY_NAME
gcc repl.c -o db
./db FILENAME.db
select //prints all the rows
insert ID USERNAME EMAIL //inserts a row
.bTree //prints a Tree representation of the database
.constants //prints some important headers
.exit //saves the database on disk and quits
- Deletion
- Updating a row