mirror of https://github.com/M66B/FairEmail.git
Order uids
This commit is contained in:
parent
ee9f9d9ce8
commit
f00427136b
|
@ -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" +
|
||||
|
|
Loading…
Reference in New Issue