EchoVault / SugarDB

Embeddable and distributed in-memory alternative to Redis.
https://sugardb.io
Apache License 2.0
411 stars 23 forks source link

Implement the SSCAN command #107

Open kelvinmwinuka opened 1 month ago

kelvinmwinuka commented 1 month ago

Scan the elements of a set. Reference: https://redis.io/docs/latest/commands/sscan/

Client-Server Spec:

Command File: ./internal/modules/set/commands.go Test File: ./internal/modules/set/commands_test.go

Command: sscan Module: constants.SetModule Categories: contants.SetCategory, constants.ReadCategory, constants.SlowCategory Description: (SSCAN key cursor [MATCH pattern] [COUNT count]) scan the elements of a set Sync: false

Embedded Spec:

Command File: ./echovault/api_set.go Test File: ./echovault/api_set_test.go

Documentation

Add documentation to ./docs/docs/commands/set/sscan.mdx

NicoleStrel commented 2 days ago

will do this one ^^