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

Method update

YACReaderLibrary/db_helper.cpp:662–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662void DBHelper::update(qulonglong libraryId, ComicInfo &comicInfo)
663{
664 QString libraryPath = DBHelper::getLibraries().getPath(libraryId);
665 QString connectionName = "";
666 {
667 QSqlDatabase db = DataBaseManagement::loadDatabase(LibraryPaths::libraryDataPath(libraryPath));
668 DBHelper::update(&comicInfo, db);
669 connectionName = db.connectionName();
670 }
671 QSqlDatabase::removeDatabase(connectionName);
672}
673
674void DBHelper::update(ComicInfo *comicInfo, QSqlDatabase &db)
675{

Callers 2

showComicsViewMethod · 0.45
showCurrentFileMethod · 0.45

Calls 4

getPathMethod · 0.80
bindValueMethod · 0.80
execMethod · 0.80
textMethod · 0.80

Tested by

no test coverage detected