js-table #364

Merged
marie merged 23 commits from js-table into staging 2024-04-14 17:56:45 +02:00
Showing only changes of commit a2005c55aa - Show all commits

View File

@ -30,7 +30,7 @@ impl BoatStat {
SELECT
boat.id,
location.name AS location,
CAST(strftime('%Y', arrival) AS INTEGER) AS year,
CAST(strftime('%Y', COALESCE(arrival, 'now')) AS INTEGER) AS year,
CAST(SUM(COALESCE(distance_in_km, 0)) AS INTEGER) AS rowed_km
FROM
boat