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

small update

This commit is contained in:
2022-10-17 22:28:33 +08:00
parent ade6e4f9e9
commit 95065be3d7
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ async function fetchAll({ args = {} }) {
${args.limit ? `LIMIT ${args.limit}` : ''}
`;
// 更新现有数据
sql = `SELECT song_id FROM song WHERE data_version = 1`;
sql = `SELECT song_id FROM song WHERE ${whereClause} AND data_version = 1`;
// 测试用
// sql = `SELECT song_id FROM song_artist_relation group by song_id limit 10`;
console.log(sql);