MCPcopy Create free account
hub / github.com/codestation/qcma / insertVirtualEntry

Method insertVirtualEntry

common/sqlitedb.cpp:1245–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245bool SQLiteDB::insertVirtualEntry(int ohfi)
1246{
1247 QSqlQuery query;
1248 query.prepare("REPLACE INTO virtual_nodes (object_id)"
1249 "VALUES (:object_id)");
1250 query.bindValue(0, ohfi);
1251 bool ret = query.exec();
1252 if(!ret) {
1253 qDebug() << query.lastError();
1254 }
1255 return ret;
1256}
1257
1258bool SQLiteDB::insertVirtualEntries()
1259{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected