v0.5.0
版本发布时间: 2024-05-20 21:54:07
nalgeon/redka最新发布版本:v0.5.2(2024-06-29 03:06:45)
Redka aims to reimplement the good parts of Redis with SQLite, while remaining compatible with the Redis API. This release adds support for set commands.
All commands are available via the Redis wire protocol (RESP) and the Go API.
Installation • Usage • Roadmap
Sets
Redka supports the following set-related commands:
-
SADD
- Adds one or more members to a set. -
SCARD
- Returns the number of members in a set. -
SDIFF
- Returns the difference of multiple sets. -
SDIFFSTORE
- Stores the difference of multiple sets. -
SINTER
- Returns the intersection of multiple sets. -
SINTERSTORE
- Stores the intersection of multiple sets. -
SISMEMBER
- Determines whether a member belongs to a set. -
SMEMBERS
- Returns all members of a set. -
SMOVE
- Moves a member from one set to another. -
SPOP
- Returns a random member after removing it. -
SRANDMEMBER
- Returns a random member from a set. -
SREM
- Removes one or more members from a set. -
SSCAN
- Iterates over members of a set. -
SUNION
- Returns the union of multiple sets. -
SUNIONSTORE
- Stores the union of multiple sets.
No breaking changes this time, yay!
1、 checksums.txt 177B
2、 redka_darwin_amd64.zip 2.08MB
3、 redka_linux_amd64.zip 2.15MB