Classification requires download

This commit is contained in:
M66B
2021-01-16 15:09:12 +01:00
parent 2a6bfda7b8
commit bc2c89d339
3 changed files with 33 additions and 11 deletions

View File

@@ -346,6 +346,9 @@ public interface DaoFolder {
@Query("UPDATE folder SET poll_count = :count WHERE id = :id AND NOT (poll_count IS :count)")
int setFolderPollCount(long id, int count);
@Query("UPDATE folder SET download = :download WHERE id = :id AND NOT (download IS :download)")
int setFolderDownload(long id, boolean download);
@Query("UPDATE folder" +
" SET auto_classify_source = :source, auto_classify_target = :target" +
" WHERE id = :id" +