Fixed collation

This commit is contained in:
M66B
2019-04-24 11:59:28 +02:00
parent 3fdba49f88
commit 856d04d79e
3 changed files with 3 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ public interface DaoContact {
" FROM contact" +
" WHERE account = :account" +
" AND type = :type" +
" AND email = :email")
" AND email = :email COLLATE NOCASE")
EntityContact getContact(long account, int type, String email);
@Query("SELECT id AS _id, name, email" +