MCPcopy Create free account
hub / github.com/KikoPlayProject/KikoPlay / animeCount

Method animeCount

MediaLibrary/animeworker.cpp:202–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202int AnimeWorker::animeCount()
203{
204 QSqlQuery query(DBManager::instance()->getDB(DBManager::Bangumi));
205 query.exec("select count(Anime) from anime");
206 if(query.first())
207 {
208 return query.value(0).toInt();
209 }
210 return 0;
211}
212
213void AnimeWorker::loadCrImages(Anime *anime)
214{

Callers 1

initMethod · 0.80

Calls 2

getDBMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected