Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HashDelete return value documentation #2599

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading