Skip to content

mikeduynguyen/simpleDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simpleDB

Simple IMDB written in Ruby by Mike Nguyen (mikeduynguyen@gmail.com)

Commands:

SET <name> <value>
set value with key name
GET <name>
get value with key name
UNSET <name>
remove key name
NUMEQUALTO <value>
count number of occurences for a value
BEGIN
open a transaction block
COMMIT
permanently write changes and close all open transaction blocks
ROLLBACK
undo all changes in the latest open transaction block
END
exit

Try it out!

After cloning the repo, cd to the folder and run ruby main.rb

About

Simple Ruby IMDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages