【发布时间】:2011-11-26 12:15:14
【问题描述】:
你可以在redis中保存嵌套对象吗?
我正在使用 node.js 驱动程序。我的一个键值是一组对象。如果我不对其进行字符串化,则会导致字符串“[object Object]”,如果我对其进行字符串化,则会收到此错误:
{
stack: [Getter/Setter],
arguments: undefined,
type: undefined,
message: 'ERR wrong number of arguments for \'hmset\' command'
}
【问题讨论】: