Code Monkey home page Code Monkey logo

zoe's Introduction

zoe

A simple transactional key:value store for educational purposes (with support for Transactions)

The shell accepts the following commands:

Command Description
SET Sets the given key to the specified value. A key can also be updated.
GET Prints out the current value of the specified key.
DELETE Deletes the given key. If the key has not been set, ignore.
COUNT Returns the number of keys that have been set to the specified value. If no keys have been set to that value, prints 0.
BEGIN Starts a transaction. These transactions allow you to modify the state of the system and commit or rollback your changes.
END Ends a transaction, everything done within the "active" transaction is lost.
ROLLBACK Throws away changes made within the context of the active transaction. If no transaction is active, prints "No Active Transaction"
COMMIT Commits the changes made within the context of the active transaction and ends the active transaction.

Demo

zoe-demo-3

Usage

If you just wanna play, ⬇ Download the build from releases

License

Copyright © 2020 Bhupesh Varshney.
This project is MIT licensed.

zoe's People

Contributors

arcanericky avatar bhupesh-v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.