Debug: more logging

This commit is contained in:
M66B
2024-05-16 07:23:04 +02:00
parent a06e4aa0a3
commit 5a65365f2c
2 changed files with 4 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ public interface DaoLog {
" WHERE time > :from" +
" AND (:type IS NULL OR type = :type)" +
" ORDER BY time DESC" +
" LIMIT 2000")
LiveData<List<EntityLog>> liveLogs(long from, Integer type);
" LIMIT :limit")
LiveData<List<EntityLog>> liveLogs(long from, int limit, Integer type);
@Query("SELECT * FROM log" +
" WHERE time > :from" +