Added queries for earliest and latest observation dates.
This commit is contained in:
parent
5fc9495b43
commit
a83de7d688
@ -50,4 +50,10 @@ public interface ObservationDao {
|
||||
"AVG(teamwork) as teamwork, AVG(knowledge) as knowledge, date FROM observations GROUP BY date ORDER BY date")
|
||||
@RegisterRowMapper(AverageStats.Mapper.class)
|
||||
List<AverageStats> averageObservationScoresByDay();
|
||||
|
||||
@SqlQuery("SELECT MIN(date) FROM observations")
|
||||
DateTime earliestEntryDate();
|
||||
|
||||
@SqlQuery("SELECT MAX(date) FROM observations")
|
||||
DateTime latestEntryDate();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user