-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support JSON.MERGE Command #132
Merged
Merged
Changes from 22 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ac44147
Support JSON.MSET Command
shacharPash bd52427
add tests
shacharPash bc635e4
Merge branch 'master' into Issue128/JSON.MSET
shacharPash 3936612
fixes
shacharPash 8407c90
Support JSON.MERGE Command
shacharPash ed2751f
adding edge filter
slorello89 fd16eeb
bump
slorello89 eabd24d
applying to .NET 6 too
slorello89 f2ccf86
think it might be picking up the version env var
slorello89 7258335
Merge branch 'master' into Issue128/JSON.MSET
shacharPash cb72354
Merge branch 'Issue128/JSON.MSET' into Issue129/JSON.MERGE
shacharPash b92cbeb
Merge branch 'master' into Issue129/JSON.MERGE
shacharPash 6faac3b
Sync test for json.merge
shacharPash f8ec082
push
shacharPash 5812a16
add async test
shacharPash 0019127
add JSON. to MERGE in commands.cs
shacharPash a9a5104
Merge branch 'master' into Issue129/JSON.MERGE
shacharPash 0527323
test from redisJson
shacharPash 2666927
add async test
shacharPash 17534bf
fix windows test
shacharPash 0adef83
fix word mistake
shacharPash 1f936dd
Merge branch 'master' into Issue129/JSON.MERGE
chayim c99e258
check if its passing
shacharPash da7fa5f
check 2
shacharPash a91e3ae
check 3
shacharPash 049162e
adding Merge input options
shacharPash 9579342
change $.a.b test merge
shacharPash 9ba17df
trying somthing else
shacharPash d0abeab
fix mistake
shacharPash b25242d
change order
shacharPash ae4e3c2
fix }
shacharPash af083fb
change to KeyPathValue
shacharPash a633e3b
null test
shacharPash 53551f5
async test + fixes
shacharPash 8279820
change order
shacharPash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,6 +215,16 @@ public interface IJsonCommands | |
/// <remarks><seealso href="https://redis.io/commands/json.mset"/></remarks> | ||
bool MSet(KeyValuePath[] keyValuePathList); | ||
|
||
/// <summary> | ||
/// Sets or updates the JSON value at a path. | ||
/// </summary> | ||
/// <param name="key">The key.</param> | ||
/// <param name="path">The path to set within the key.</param> | ||
/// <param name="json">The value to set.</param> | ||
/// <returns>The disposition of the command</returns> | ||
/// <remarks><seealso href="https://redis.io/commands/json.merge"/></remarks> | ||
bool Merge(RedisKey key, RedisValue path, RedisValue json); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So clean! |
||
|
||
/// <summary> | ||
/// Sets or updates the JSON value of one or more keys. | ||
/// </summary> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is accurate?