MCPcopy Create free account
hub / github.com/M66B/FairEmail / deleteLogs

Method deleteLogs

app/src/main/java/eu/faircode/email/DaoLog.java:47–47  ·  view source on GitHub ↗
(long before, int limit)

Source from the content-addressed store, hash-verified

45 long insertLog(EntityLog log);
46
47 @Query("DELETE FROM log" +
48 " WHERE id IN (SELECT id FROM log" +
49 " WHERE time < :before ORDER BY time LIMIT :limit)")
50 int deleteLogs(long before, int limit);

Callers 1

cleanupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected