Skip to content

lopdan/database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database

Database written in C, inspired in SQLite.

How to run it

Compile the program and create the executable:

make

Run the database after creating the executable:

./database test.db

After running the program, you have available the insert and select commands:

./database test.db
Database > insert 1 test test@user.com
Executed.
Database > select
(1, test, test@user.com)
Executed.
Database > .exit

Test coverage

  • Insert and select commands.
  • Max length value insert.
  • Data persistence in database.
  • Error when table is full.
  • Error when max length value exceeded.
  • Error when ID number is not positive

About

Database made in C

Topics

Resources

License

Stars

Watchers

Forks

Contributors