Added download operation for fast fetch

This commit is contained in:
M66B
2022-10-29 21:47:46 +02:00
parent e0f76f699e
commit 55f589bea7
3 changed files with 34 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ public interface DaoOperation {
// Other operations: seen, answered, flag, keyword, label, subscribe, send, rule
" WHEN operation.name = '" + EntityOperation.SYNC + "' AND folder.account IS NOT NULL THEN 1" +
" WHEN operation.name = '" + EntityOperation.FETCH + "' THEN 2" +
" WHEN operation.name = '" + EntityOperation.DOWNLOAD + "' THEN 3" +
" WHEN operation.name = '" + EntityOperation.EXISTS + "' THEN 3" +
" WHEN operation.name = '" + EntityOperation.REPORT + "' THEN 3" +
" WHEN operation.name = '" + EntityOperation.COPY + "' THEN 4" +