mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Is this a good idea?
This commit is contained in:
@@ -147,6 +147,9 @@ public interface DaoAccount {
|
||||
@Query("SELECT * FROM account WHERE uuid = :uuid")
|
||||
EntityAccount getAccountByUUID(String uuid);
|
||||
|
||||
@Query("SELECT * FROM account WHERE auth_type = :auth_type AND user = :user")
|
||||
EntityAccount getAccount(int auth_type, String user);
|
||||
|
||||
@Query("SELECT * FROM account WHERE name = :name")
|
||||
EntityAccount getAccount(String name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user