3
我要取代這個命令:HMGET與盧阿 - resty,Redis的一個數組
red:hmget('item', 'item:1', 'item:2')
的東西,如:
local test = {'item:1', 'item:2'}
red:hmget('item', test)
但是,我得到一個錯誤(string expected, got table)
當我嘗試這個。我如何在Lua中爲Redis格式化?
啊哈,謝謝!我不確定那是什麼。 – arby