Popularity
3.5
Growing
Activity
2.7
-
4
2
0

Monthly Downloads: 20
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Database    

LambdaDB alternatives and similar packages

Based on the "Database" category

Do you think we are missing an alternative of LambdaDB or a related project?

Add another 'Database' Package

README

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](UpdateLog.md) file.

TODO

  • [ ] Support more general data structure.
  • [x] Change insert value more intuitively.
  • [x] 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](LICENSE) file.


*Note that all licence references and agreements mentioned in the LambdaDB README section above are relevant to that project's source code only.