| 201 | } |
| 202 | |
| 203 | void DBsqliteKV::put(const std::string &key, const common::BinaryArray &value, bool nooverwrite) { |
| 204 | sqlite::Stmt &stmt = nooverwrite ? stmt_insert : stmt_update; |
| 205 | ::put(stmt, key, value.data(), value.size()); |
| 206 | } |
| 207 | |
| 208 | void DBsqliteKV::put(const std::string &key, const std::string &value, bool nooverwrite) { |
| 209 | sqlite::Stmt &stmt = nooverwrite ? stmt_insert : stmt_update; |