Skip to content

Troxsoft/SkikDB

Repository files navigation

Key/Value Memory Database

Readme Card

Characteristics

  • Easy
  • Simple
  • All on only one executable
  • Basic autocomplete in CLI

Data types

  • String

  • Number(with decimal or without decimal)

  • List

  • JSON

Examples:

  • Set key:
    set "INeedCash" true
    set example
  • Get key:
    get "INeedCash"
    get example
  • Get all keys/values:
    get *
  • Delete key:
    delete "INeedCash"
  • Get type of key/value:
    type "INeedCash"
  • Exists key/value:
    exists "INeedCash"
  • Others Examples:
    get * where value < 20
    get 2 where startsWith(key,"+18")
    set "names" ["pepe","nalga","ramirez","a","a2"]
    list "names" addl "donald"
    list "names" addr "frank"
    list "names" delete 1 where index == 0
    list "names" get 1 where index == 0
    get "names"
    list "names" delete *
    get 1 where key == "mykey"

Sixtax Error:

sintax error

Features:

✔ = 100%

😉 = 50%

❌ = 0%

  • List (add,delete,sort,is repeat,and more) (😉)
  • Limit (✔)
  • Conditions (✔)
  • Data handling (strings,numbers) (❌)
  • DB Server (❌)
  • JSON handling (❌)
  • Regex (❌)
  • Exact type (❌)
  • Update message error (❌)
  • Add native API for go (❌)
  • Add API using DB server(go,nodejs,c,c++,rust,python) (❌)

This proyect use c-bata/go-prompt for autocomplete in the cli,fatih/color for terminal colors

License: MIT