Skip to content

Ailrun/LambdaDB

Repository files navigation

Lambda DB

Description

On-memory Database based on Lambda function

Stable Version : 0.0.0.6
Lastest Version : 0.0.0.7

Table Of Contents

Supporting Data Type

  1. None
    Default Value for all keys.
  2. Boolean
    True or False.
  3. Int
    Limited Integer Value. Represented by digits. 123
  4. Integer
    Unlimited Integer Value. Represented by digits having character "i" on the end. 123i
  5. Character
    Character Value. Represented by a character surrounded with '. 'b'
  6. String
    String Value. Represented by a character sequence surrounded with ". "this is string"'
  7. List
    List Value. Represented like [1, 2, 3]
    In current version, you can write lists like [1, 'c', 'b'], but this act will be deprecated.

Commands

All of these commands are case-insensitive.

Current commads

Commands Form Description
Quit quit Quit DB process
Status status Check DB status
Insert insert Insert a value data with key
Delete delete Delete a value data using key
Find find Find the value data using key

Quit

Quit command.

Status

Status check command.
Not implemented correctly yet

Insert

Insert command.
Needs Key(Any String without whitespace) and Values.

insert 5 [1, 2, 3]
OK

Delete

Delete command.
Needs Key(AnyString without whitespace).

delete 5
OK

Until options supporting, this command is just a alias of insert <key> None.

Find

Find command.
Needs Key(Any String without whitespace)

find 5
[1, 2, 3]

Preserved commads

Test

Basic test with stack is provided.
Run stack test to check the result.

Update Log

See UpdateLog.md file.

TODO

  • Support more general data structure.
  • Change insert value more intuitively.
  • Change commands more program friendly, i.e. without additional inputs.
  • Authorization System.
  • Seperate server parts and client parts.
  • Concerning about using parsec.

Author

Junyoung Clare Jang @ KR

License

Read the LICENSE file.

About

On-memory DB using Lambda function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages