Add multiple fields hdel support#267
Merged
lguohan merged 2 commits intosonic-net:masterfrom Mar 4, 2019
Merged
Conversation
Signed-off-by: Wenda Ni <[email protected]>
Contributor
|
Code is good to me. Please add some unit test. |
Signed-off-by: Wenda Ni <[email protected]>
jleveque
approved these changes
Mar 2, 2019
qiluo-msft
approved these changes
Mar 2, 2019
kcudnik
approved these changes
Mar 2, 2019
lguohan
approved these changes
Mar 4, 2019
Contributor
|
Made to 201811 branch on 3/6/2019 |
yxieca
pushed a commit
that referenced
this pull request
Mar 7, 2019
* Add multiple fields hdel support Signed-off-by: Wenda Ni <[email protected]> * Add unit test for multiple fields hdel Signed-off-by: Wenda Ni <[email protected]>
yxieca
pushed a commit
that referenced
this pull request
Mar 19, 2019
* Add multiple fields hdel support Signed-off-by: Wenda Ni <[email protected]> * Add unit test for multiple fields hdel Signed-off-by: Wenda Ni <[email protected]>
prgeor
pushed a commit
to prgeor/sonic-swss-common
that referenced
this pull request
Feb 27, 2025
Signed-off-by: Oleksandr Ivantsiv <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add multiple fields hdel support
$ ./tests/tests --gtest_filter=DBConnector.RedisClient
Running main() from gtest_main.cc
Note: Google Test filter = DBConnector.RedisClient
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from DBConnector
[ RUN ] DBConnector.RedisClient
Starting table manipulations
Set key [a] field_1:1 field_2:2 field_3:3
Set key [b] field_1:1 field_2:2 field_3:3
Get key [b]Get key [a]- Step 3. GET_TABLE_CONTENT
Get key [b] field_3:3 field_2:2 field_1:1
Get key [a] field_3:3 field_2:2 field_1:1
Delete field_2 under key [a]
field_3:3 field_1:1
Delete key [a]
Get key [a] and key [b]
Get key [b] field_3:3 field_2:2 field_1:1
Delete field_2, field_3 under key [b]
field_1:1
Delete key [b]
Done.
[ OK ] DBConnector.RedisClient (15 ms)
[----------] 1 test from DBConnector (15 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (15 ms total)
[ PASSED ] 1 test.
Signed-off-by: Wenda Ni [email protected]