Help Center/ GeminiDB/ GeminiDB Redis API/ FAQs/ Database Usage/ Why the Values Returned by Scan Operations Are Different Between GeminiDB Redis API and Open-Source Redis 5.0?
Updated on 2024-10-11 GMT+08:00

Why the Values Returned by Scan Operations Are Different Between GeminiDB Redis API and Open-Source Redis 5.0?

GeminiDB Redis API may return values in a different sequence from open-source Redis, but they both comply with open-source document description requirements. This is because open-source Redis does not specify the sorting rules for:

  • Returned values of SCAN/HSCAN/SSCAN operations
  • Returned values of ZSCAN operations ZSET when its elements have the same score