| 190 | }; |
| 191 | |
| 192 | inline PrefixType ParseKeyPrefixType(const std::string &keyPrefix) { |
| 193 | auto it = gPrefixNameMap.find(keyPrefix); |
| 194 | if (it != gPrefixNameMap.end()) |
| 195 | return it->second; |
| 196 | return EMPTY; |
| 197 | }; |
| 198 | |
| 199 | template<typename KeyElement> |
| 200 | std::string GenDbKey(PrefixType keyPrefixType, const KeyElement &keyElement) { |
no test coverage detected