Skip to content
/ softdb Public

A key-value NoSQL implemented by Golang, like Redis

License

Notifications You must be signed in to change notification settings

ggdream/softdb

Repository files navigation

SoftDB

Under the soft sun, know me.

key

  • keys
  • del
  • select
  • flushdb
  • flushall
  • exists
  • type
  • expire
  • ttl
  • dbsize

string

  • set
  • get
  • mget
  • mset
  • append
  • strlen
  • setnx
  • incr
  • decr
  • incrby
  • decrby
  • getset

list

  • lpush
  • rpush
  • lpop
  • rpop
  • lrange
  • rpoplpush
  • lindex
  • llen
  • linsert
  • lrem
  • lset

hash

  • hset
  • hget
  • hmset
  • hmget
  • hexists
  • hkeys
  • hvals
  • hincrby
  • hsetnx
  • hdel

set

  • sadd
  • smembers
  • sismember
  • scard
  • srem
  • spop
  • srandmember
  • smove
  • sinter
  • sunion
  • sdiff

zset

  • zadd
  • zrange
  • zrangebyscore
  • zrevrangebyscore
  • zincrby
  • zrem
  • zcount
  • zrank

Releases

No releases published

Packages

No packages published

Languages