Skip to content

Fix JSON.MERGE Summary #139

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

Merged
merged 1 commit into from
May 29, 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
6 changes: 4 additions & 2 deletions src/NRedisStack/Json/IJsonCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ public interface IJsonCommands
bool MSet(KeyPathValue[] KeyPathValueList);

/// <summary>
/// Sets or updates the JSON value at a path.
/// Merges a given JSON value into matching paths. Consequently,
/// JSON values at matching paths are updated, deleted, or expanded with new children
/// </summary>
/// <param name="key">The key.</param>
/// <param name="path">The path to set within the key.</param>
Expand All @@ -226,7 +227,8 @@ public interface IJsonCommands
bool Merge(RedisKey key, RedisValue path, RedisValue json);

/// <summary>
/// Sets or updates the JSON value at a path.
/// Merges a given JSON value into matching paths. Consequently,
/// JSON values at matching paths are updated, deleted, or expanded with new children
/// </summary>
/// <param name="key">The key.</param>
/// <param name="path">The path to set within the key.</param>
Expand Down
6 changes: 4 additions & 2 deletions src/NRedisStack/Json/IJsonCommandsAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ public interface IJsonCommandsAsync
Task<bool> MSetAsync(KeyPathValue[] KeyPathValueList);

/// <summary>
/// Sets or updates the JSON value at a path.
/// Merges a given JSON value into matching paths. Consequently,
/// JSON values at matching paths are updated, deleted, or expanded with new children
/// </summary>
/// <param name="key">The key.</param>
/// <param name="path">The path to set within the key.</param>
Expand All @@ -226,7 +227,8 @@ public interface IJsonCommandsAsync
Task<bool> MergeAsync(RedisKey key, RedisValue path, RedisValue json);

/// <summary>
/// Sets or updates the JSON value at a path.
/// Merges a given JSON value into matching paths. Consequently,
/// JSON values at matching paths are updated, deleted, or expanded with new children
/// </summary>
/// <param name="key">The key.</param>
/// <param name="path">The path to set within the key.</param>
Expand Down