table: Adding getTableContent function#20
Merged
stcheng merged 1 commit intosonic-net:masterfrom May 8, 2016
Merged
Conversation
common/table.cpp
Outdated
| } | ||
| } | ||
|
|
||
| bool Table::getTableKeys(std::vector<std::string> &keys) |
Contributor
There was a problem hiding this comment.
return could be void since if no elements then you will get empty result
you are also not checking output of this function
Contributor
|
ack |
This function is used to retrieve the whole content of a table.
prgeor
pushed a commit
to prgeor/sonic-swss-common
that referenced
this pull request
Feb 27, 2025
Enable decode of QSFP-DD/OSFP transceivers, and vendor information.
Pterosaur
pushed a commit
to Pterosaur/sonic-swss-common
that referenced
this pull request
Apr 13, 2025
Adding multi-db instance support based on db config file. So, now instead of hardcoded DB endpoint, it is read from a configuration file.
nazariig
pushed a commit
to nazariig/sonic-swss-common
that referenced
this pull request
May 6, 2025
…t#20) ```<br>* c7d30d3 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss-common into 202412 (2025-02-28) [Sonic Automation] * 3bc4141 - (origin/202411) [FC] remove FLEX_COUNTER_DELAY_STATUS_FIELD (sonic-net#982) (2025-03-01) [mssonicbld]<br>```
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.
This function is used to retrieve the whole content of a table.
It will future be used for orchagent restarting logics.