Skip to content

Commit ee1a576

Browse files
authored
Fix JSON.MERGE Summary (#139)
fix Json.Merge summary
1 parent c127a62 commit ee1a576

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/NRedisStack/Json/IJsonCommands.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ public interface IJsonCommands
216216
bool MSet(KeyPathValue[] KeyPathValueList);
217217

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

228229
/// <summary>
229-
/// Sets or updates the JSON value at a path.
230+
/// Merges a given JSON value into matching paths. Consequently,
231+
/// JSON values at matching paths are updated, deleted, or expanded with new children
230232
/// </summary>
231233
/// <param name="key">The key.</param>
232234
/// <param name="path">The path to set within the key.</param>

src/NRedisStack/Json/IJsonCommandsAsync.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ public interface IJsonCommandsAsync
216216
Task<bool> MSetAsync(KeyPathValue[] KeyPathValueList);
217217

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

228229
/// <summary>
229-
/// Sets or updates the JSON value at a path.
230+
/// Merges a given JSON value into matching paths. Consequently,
231+
/// JSON values at matching paths are updated, deleted, or expanded with new children
230232
/// </summary>
231233
/// <param name="key">The key.</param>
232234
/// <param name="path">The path to set within the key.</param>

0 commit comments

Comments
 (0)