mirror of https://github.com/M66B/FairEmail.git
Limit main log display
This commit is contained in:
parent
90e231dc22
commit
01d8c048e3
|
@ -30,7 +30,8 @@ import java.util.List;
|
||||||
public interface DaoLog {
|
public interface DaoLog {
|
||||||
@Query("SELECT * FROM log" +
|
@Query("SELECT * FROM log" +
|
||||||
" WHERE time > :from" +
|
" WHERE time > :from" +
|
||||||
" ORDER BY time DESC")
|
" ORDER BY time DESC" +
|
||||||
|
" LIMIT 2000")
|
||||||
LiveData<List<EntityLog>> liveLogs(long from);
|
LiveData<List<EntityLog>> liveLogs(long from);
|
||||||
|
|
||||||
@Query("SELECT * FROM log" +
|
@Query("SELECT * FROM log" +
|
||||||
|
|
Loading…
Reference in New Issue