Skip to content

Commit

Permalink
Fix HashDelete return value documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjez committed Nov 19, 2023
1 parent 34ba53c commit 46963b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/StackExchange.Redis/Interfaces/IDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public interface IDatabase : IRedis, IDatabaseAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashField">The field in the hash to delete.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>The number of fields that were removed.</returns>
/// <returns><see langword="true"/> if the field was removed.</returns>
/// <remarks><seealso href="https://redis.io/commands/hdel"/></remarks>
bool HashDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None);

Expand Down
2 changes: 1 addition & 1 deletion src/StackExchange.Redis/Interfaces/IDatabaseAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public interface IDatabaseAsync : IRedisAsync
/// <param name="key">The key of the hash.</param>
/// <param name="hashField">The field in the hash to delete.</param>
/// <param name="flags">The flags to use for this operation.</param>
/// <returns>The number of fields that were removed.</returns>
/// <returns><see langword="true"/> if the field was removed.</returns>
/// <remarks><seealso href="https://redis.io/commands/hdel"/></remarks>
Task<bool> HashDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None);

Expand Down

0 comments on commit 46963b1

Please sign in to comment.