从数据库中取得id之后打印出来
This commit is contained in:
@@ -11,6 +11,7 @@ const dbUtils = global.dbUtils;
|
||||
async function fetchAll({ args = {} }) {
|
||||
console.log("start fetching lyrics ...");
|
||||
let songIds = await dataManager.lyric.getIdsToFetch(args);
|
||||
console.log(`songIds was fetched, count: ${songIds.length}`);
|
||||
for (let i = 0; i < songIds.length; i++) {
|
||||
await global.checkIsExit();
|
||||
const songId = songIds[i];
|
||||
|
Reference in New Issue
Block a user