Skip to content

A windows-only, secure, lightweight, and fast Database Management System written in C++

License

Notifications You must be signed in to change notification settings

FujiwaraChoki/SkibiDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkibiDB

A windows-only, secure, lightweight, and fast Database Management System written in C++

Libraries

Installation

$ git clone https://github.com/FujiwaraChoki/SkibiDB.git --recursive
$ cd SkibiDB
$ mkdir build
$ cd build
$ cmake ..
$ make

Usage

$ ./skibidb

To see a list of possible commands, type "HELP".

Examples

Create a users table

CREATE TABLE users

SAVE

Add a user

INSERT INTO users (username, age) VALUES ("FujiwaraChoki", 17)

SAVE

Select specific user

SELECT username FROM users WHERE username ~ "s/FujiwaraShoki"

The s/ here is a flag you can add if you'd like to use the soundex search. More information here.

~ is the same as LIKE, it doesn't matter which one you provide.

Delete a user

DELETE FROM users WHERE username LIKE "s/Fujiwarashoki"

This commands deletes every user, who's username sounds like "Fujiwarashoki".

SAVE

There's also the basic DROP, UPDATE and EXIT commands.

Set a Primary Key

SET PK users user_id

SAVE

Functions

The only supported function as of now, is COUNT.

License

MIT

Authors

Easteregg

https://youtu.be/pEBFJI-g9AA (Not Rick-Roll)

About

A windows-only, secure, lightweight, and fast Database Management System written in C++

Topics

Resources

License

Stars

Watchers

Forks