| 221 | } |
| 222 | |
| 223 | bool DBsqliteKV::get(const std::string &key, common::BinaryArray &value) const { |
| 224 | auto result = ::get(stmt_get, key); |
| 225 | if (!result.first) |
| 226 | return false; |
| 227 | value.assign(result.first, result.first + result.second); |
| 228 | return true; |
| 229 | } |
| 230 | |
| 231 | bool DBsqliteKV::get(const std::string &key, std::string &value) const { |
| 232 | auto result = ::get(stmt_get, key); |