コマンドIDatabase.SetCombine()
をコマンドSDIFF、SUNIONまたはSINTERに使用する必要があります。 SetOperation
はUnion
、Intersect
またはDifference
がtests
のいくつかを見てみましょうすることができ
/// <summary>
/// Returns the members of the set resulting from the specified operation against the given sets.
/// </summary>
/// <returns>list with members of the resulting set.</returns>
/// <remarks>http://redis.io/commands/sunion</remarks>
/// <remarks>http://redis.io/commands/sinter</remarks>
/// <remarks>http://redis.io/commands/sdiff</remarks>
RedisValue[] SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None);