1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

从数据库中取得id之后打印出来

This commit is contained in:
2022-11-09 11:18:54 +08:00
parent e48305ffaa
commit 8e0406a485
6 changed files with 33 additions and 13 deletions

View File

@@ -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];