MCPcopy Create free account
hub / github.com/YACReader/yacreader / removeLabelFromDB

Method removeLabelFromDB

YACReaderLibrary/db_helper.cpp:569–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569void DBHelper::removeLabelFromDB(qulonglong id, QSqlDatabase &db)
570{
571 QSqlQuery query(db);
572 query.prepare("DELETE FROM label WHERE id = :id");
573 query.bindValue(":id", id);
574 query.exec();
575}
576
577void DBHelper::removeListFromDB(qulonglong id, QSqlDatabase &db)
578{

Callers

nothing calls this directly

Calls 2

bindValueMethod · 0.80
execMethod · 0.80

Tested by

no test coverage detected