MCPcopy Create free account
hub / github.com/bcndev/bytecoin / put

Method put

src/platform/DBsqlite3.cpp:203–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void 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
208void DBsqliteKV::put(const std::string &key, const std::string &value, bool nooverwrite) {
209 sqlite::Stmt &stmt = nooverwrite ? stmt_insert : stmt_update;

Callers 1

run_testsMethod · 0.45

Calls 3

putFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected