public static BitwiseNotAsync ( IDatabase database, RedisKey destination, RedisKey key ) : Task |
||
database | IDatabase | /// The database where the query will be performed. This is passed so that we can reuse the same database to /// perform multiple bitwise operations. Doing this with the same connection will guarantee that performance /// is good. /// |
destination | RedisKey | /// The destination key where the result should be stored. /// |
key | RedisKey | /// The key where the data to be NOT'd is located. /// |
return | Task |
public static Task<long> BitwiseNotAsync(IDatabase database, RedisKey destination, RedisKey key)
{
Task<long> result = database
.StringBitOperationAsync(Bitwise.Not, destination, key);
return result;
}
BitwiseAnalytics::BitwiseNotAsync ( IDatabase database, RedisKey destination, RedisKey key, System.TimeSpan expires ) : Task |