tedis icon indicating copy to clipboard operation
tedis copied to clipboard

SCAN command returns invalid result

Open rimimiy717 opened this issue 6 years ago • 1 comments

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 avatar Dec 01 '19 06:12 rimimiy717

@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!

dasoncheng avatar Dec 06 '19 14:12 dasoncheng