Skip to content
/ etna Public

Key-value, in-memory, statically typed database for Node.js

License

Notifications You must be signed in to change notification settings

etnadb/etna

Repository files navigation

Build Status Coverage Open Collective backers and sponsors MIT License

WORK IN PROGRESS

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

Releases

No releases published

Sponsor this project

Packages

No packages published