如何获取List Redis中最新元素的索引?例如,在List存储的消息 ID 中,我需要获取last ID消息并返回index此元素。
List
last ID
index
redis node-redis
node-redis ×1
redis ×1