diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-05-09 00:44:42 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-05-09 00:44:42 -0600 |
commit | 2734f6777a6b7c439d9bc55c8756155721f76fa5 (patch) | |
tree | ca830b6dab31abef50e49b1c96698d5b127b5c5c /app/src/main/java/me/brysonsteck/wiimmfiwatcher/database | |
parent | 5c0ed1708a3f23fcb78cfe8442487a403674c56a (diff) | |
download | wiimmfi-watcher-2734f6777a6b7c439d9bc55c8756155721f76fa5.tar wiimmfi-watcher-2734f6777a6b7c439d9bc55c8756155721f76fa5.tar.gz wiimmfi-watcher-2734f6777a6b7c439d9bc55c8756155721f76fa5.tar.bz2 |
added clear button but doesn't work yet
Diffstat (limited to 'app/src/main/java/me/brysonsteck/wiimmfiwatcher/database')
-rw-r--r-- | app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java index 24e8762..1b0788e 100644 --- a/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java +++ b/app/src/main/java/me/brysonsteck/wiimmfiwatcher/database/FriendCodeDao.java @@ -27,4 +27,8 @@ public interface FriendCodeDao { @Delete public void delete(FriendCode friendCode); + + @Query("DELETE FROM friendcode") + public void nukeTable(); + } |