etna
v0.0.4-alpha
Published
NoSQL in memory Database
Downloads
8
Maintainers
Readme
EQL - Etna Query Language
Short Demonstration
SET &string name "Mitch"
# => OK.
SET &int age "24"
# => OK.
GET name
# => "Mitch"
GET age
# => 24
DELETE name
# => OK.
EXIST name
# => false
Types
Etna currently supports six basic types:
| Type | Alias | |---------|-------| | &string | &s | | &int | &i | | &float | &f | | &bool | &b | | &null | &n | | &json | &j |
Commands
Etna currently supports four basic commands:
SET
GET
DELETE
EXIST
Query Language
Set a new value of type string and name
as its key:
SET &string name "John"
^ ^ ^ ^
command type key value
Get the name
value:
GET name
^ ^
command key
Delete the name
value:
DELETE name
^ ^
command key
Check if the name
key exists:
EXIST name
^ ^
command key