点击或拖拽改变大小

RedisClientSetUnionStore 方法 (String, String, String)

这个命令类似于 SUNION 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。如果 destination 已经存在,则将其覆盖。destination 可以是 key 本身。

命名空间:  HslCommunication.Enthernet.Redis
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public OperateResult<int> SetUnionStore(
	string destination,
	string key,
	string[] unionKeys
)

参数

destination
类型:SystemString
存储的目标集合
key
类型:SystemString
集合关键字
unionKeys
类型:SystemString
并集的集合

返回值

类型:OperateResultInt32
结果集中的元素数量。
参见