| 109 | |
| 110 | |
| 111 | void KeyValueStore::SetValue(const std::string& name, const Json::Value& value) |
| 112 | { |
| 113 | Json::StreamWriterBuilder builder; |
| 114 | builder["indentation"] = ""; |
| 115 | string json = Json::writeString(builder, value); |
| 116 | if (!BNSetKeyValueStoreValue(m_object, name.c_str(), json.c_str())) |
| 117 | { |
| 118 | throw DatabaseException("BNSetKeyValueStoreValue"); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | |
| 123 | void KeyValueStore::SetBuffer(const std::string& name, const DataBuffer& value) |
nothing calls this directly
no test coverage detected