Refine database import export
This commit is contained in:
1 parent
4ee2cdf19c
commit
e353bbe4c3
20 files changed
+225
-51
No files matched your search
@@ -9,10 +9,7 @@ import androidx.room.Update;
|
||||
import java.util.List;
|
||||
|
||||
@Dao
|
||||
public interface QuickSearchDao {
|
||||
|
||||
String TABLENAME = "QUICK_SEARCH";
|
||||
|
||||
public interface QuickSearchDao extends BasicDao<QuickSearch> {
|
||||
@Query("SELECT * FROM QUICK_SEARCH ORDER BY TIME ASC")
|
||||
List<QuickSearch> list();
|
||||
|
||||
@@ -31,4 +28,9 @@ public interface QuickSearchDao {
|
||||
@Delete
|
||||
void delete(QuickSearch quickSearch);
|
||||
|
||||
@Query("SELECT * FROM QUICK_SEARCH ORDER BY TIME ASC")
|
||||
List<QuickSearch> fakeList();
|
||||
|
||||
@Insert
|
||||
void fakeInsert(QuickSearch t);
|
||||
}
|
||||
Reference in new issue
Block a user