如何将一些键值对传递给redis zadd?

时间:2019-04-19 01:40:15

标签: redis lua

我正在尝试将多个键值对添加到排序集中,如下所示:

xszs : {A : Type} -> {len, len' : Nat} ->
       (xs, ys : Vect len A) -> (zs : Vect len' A) ->
       xs = ys -> ys = zs -> xs = zs
xszs {A} {len} {len'=len} xs xs xs Refl Refl = Refl

我该怎么办?

1 个答案:

答案 0 :(得分:0)

-- zadd key score member [[score member] [score member] …] 1 本地状态表= {100,“ value1”,200,“ value2”} redis.call(“ ZADD”,“ time_1”,解压(status_table))`