luasocket/test/dicttest.lua

6 lines
151 B
Lua

local dict = require"socket.dict"
print(dict.get("dict://localhost/d:teste"))
for i,v in pairs(dict.get("dict://localhost/d:teste")) do print(v) end