我试图在 ServiceStack Redis Client 中为我的文章实例实现“级联”存储。只有一笔交易。这是 QueueCommand 的奇怪错误吗?为什么会出现此错误?
trans.QueueCommand(p => p.IncrementValue(KeyHelper.GetAutoIncrementKey(article)),
id => article.Id = id);
评论提示:trans.AddRangeToSet 方法无法将 trans.CurrentQueuedOperation 设置为 NULL!!
最佳答案
我使用 AddRangeToSet 方法作为空字符串列表作为值。 我已发送拉取请求。
关于redis - The previous queued operation has not been committed 错误在 ServiceStack Redis 客户端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10906746/