こんにちは、DbFlow で 1 つの列リストを取得しようとしています
これを使用すると、すべての試合の詳細を取得できます
public List<Match> getMatchDetails() {
return SQLite.select()
.from(Match.class)
.queryList();
}
しかし、実際にはすべての試合のスコアのリストが必要なので、このようなスコアの詳細を取得しようとしました。
public List<String> getScore() {
return SQLite.select(Match_Table.score) // (score is string)
.from(Match.class)
.queryList();
}
But still I can fetch details as List<Match> and not List<String>. Am I doing anything wrong?