GithubHelp home page GithubHelp logo

fujiwarachoki / skibidb Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 30.96 MB

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

License: MIT License

CMake 0.81% C++ 99.19%
cpp database-management-system sql

skibidb's Introduction

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)

skibidb's People

Contributors

4g-13eh avatar fujiwarachoki avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

4g-13eh

skibidb's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.