tedis
tedis copied to clipboard
SCAN command returns invalid result
const tedis = new Tedis()
await tedis.rpush('a', 1)
await tedis.rpush('b', 2)
// expected out: [ '0', [ 'b', 'a' ] ]
// actual out: [ '0', '$1' ]
console.log(await tedis.command('scan', 0))
@rimimiy717 The current version of Tedis implements only a partial high-frequency interface, and Command has yet to perform compatible parsing of returned data that does not conform to the Redis Protocol specification. Thanks for your feedback, we will find time to implement scan, Have a nice day!