mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Small improvement
This commit is contained in:
parent
898e7bccf3
commit
ebf2d1a895
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ public interface DaoIdentity {
|
||||||
" AND account.synchronize")
|
" AND account.synchronize")
|
||||||
LiveData<List<TupleIdentityEx>> liveComposableIdentities(Long account);
|
LiveData<List<TupleIdentityEx>> liveComposableIdentities(Long account);
|
||||||
|
|
||||||
@Query("SELECT * FROM identity WHERE account = :account")
|
@Query("SELECT * FROM identity" +
|
||||||
|
" WHERE account = :account" +
|
||||||
|
" ORDER BY name COLLATE NOCASE")
|
||||||
List<EntityIdentity> getIdentities(long account);
|
List<EntityIdentity> getIdentities(long account);
|
||||||
|
|
||||||
@Query("SELECT * FROM identity WHERE id = :id")
|
@Query("SELECT * FROM identity WHERE id = :id")
|
||||||
|
|
Loading…
Reference in a new issue