1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Order uids

This commit is contained in:
M66B 2021-10-16 21:45:54 +02:00
parent ee9f9d9ce8
commit f00427136b

View file

@ -576,7 +576,8 @@ public interface DaoMessage {
@Query("SELECT uid FROM message" +
" WHERE folder = :folder" +
" AND (:received IS NULL OR received >= :received)" +
" AND NOT uid IS NULL")
" AND NOT uid IS NULL" +
" ORDER BY uid")
List<Long> getUids(long folder, Long received);
@Query("SELECT * FROM message" +