You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TYPE option in ScanArgs for SCAN command is missing.
As of version 6.0 Redis SCAN command supports TYPE argument (which is not supported for HSCAN, ZSCAN or SSCAN): https://redis.io/commands/scan#the-type-option
This option allows one to filter keys by specific key type (types are same as returned by TYPE command: string, list, set, zset, hash and stream).
However, Lettuce does not support this argument.
Notes on possible ways to implement: Supposedly an extension to ScanArgs like KeyScanArgs could be added which would include such field, or the field could be added to ScanArgs directly. The Redis connection should of course accept this type for scan(...) methods and pass it to Redis accordingly.
The text was updated successfully, but these errors were encountered:
TYPE option in ScanArgs for SCAN command is missing.
As of version 6.0 Redis SCAN command supports TYPE argument (which is not supported for HSCAN, ZSCAN or SSCAN): https://redis.io/commands/scan#the-type-option
This option allows one to filter keys by specific key type (types are same as returned by TYPE command: string, list, set, zset, hash and stream).
However, Lettuce does not support this argument.
Notes on possible ways to implement: Supposedly an extension to ScanArgs like KeyScanArgs could be added which would include such field, or the field could be added to ScanArgs directly. The Redis connection should of course accept this type for scan(...) methods and pass it to Redis accordingly.
The text was updated successfully, but these errors were encountered: