1
2
3
4
5
6
7
8
9
10
11
12
| /Users/guanyc/StudioProjects/BornWinClean/app/build/tmp/kapt3/stubs/debug/com/guanyc/stock/discipline/data/local/dao/StockNoteDao.java:118:
warning: The query returns some columns
[color, isCompleted, hasUnplannedAction, reviewMarket, string1, string2, string3, string4, string5, b1, b2, b3, b4, b5, i1, i2, i3, i4, i5, f1, f2, f3, f4, f5]
which are not used by com.guanyc.stock.discipline.presentation.main.MainViewModel.StockNotePanelPojo.
You can use @ColumnInfo annotation on the fields to specify the mapping.
You can annotate the method with @RewriteQueriesToDropUnusedColumns
to direct Room to rewrite your query to avoid fetching unused columns.
You can suppress this warning by annotating the method with @SuppressWarnings(RoomWarnings.CURSOR_MISMATCH).
Columns returned by the query: stockNoteId, createDate, color, isCompleted, hasUnplannedAction,
reviewMarket, string1, string2, string3, string4, string5,
b1, b2, b3, b4, b5, i1, i2, i3, i4, i5, f1, f2, f3, f4, f5.
|