Skip to content

cloverb/simple-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

simple-db

In-memory database implemented in Python

Usage

Start the program:

python database.py

You will be prompted for input:

>>

Enter commands (supported commands):

set foo a

To stop the program, enter the following command:

end

Supported Commands

  • set [name] [value]
  • get [name]
  • delete [name]
  • count [value]
  • end
  • begin
  • rollback
  • commit

Transactions

Transactions and nested transactions are supported, however commit will commit all current transactions, regardless of which transaction it is called from.

About

Simple in-memory database implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages