Debug info: summarize identities

This commit is contained in:
M66B
2022-02-14 08:37:24 +01:00
parent 706f70ab16
commit 7f33001a0f
2 changed files with 24 additions and 1 deletions

View File

@@ -121,6 +121,10 @@ public interface DaoOperation {
@Query("SELECT COUNT(id) FROM operation")
int getOperationCount();
@Query("SELECT COUNT(id) FROM operation" +
" WHERE name = :name")
int getOperationCount(String name);
@Query("SELECT COUNT(id) FROM operation" +
" WHERE account = :account")
int getOperationCount(long account);