Skip to content

Latest commit

 

History

History
83 lines (48 loc) · 1.52 KB

README.md

File metadata and controls

83 lines (48 loc) · 1.52 KB

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)