I 've studied couchbase and lodash today. and here is the result...
https://report-tab-data.netlify.com/
GroupBy with lodash
Starting point was a simple sql query
SELECT *
FROM bakimlar
GROUP BY kovanNo
ORDER BY kovanNo asc
and
SELECT *
FROM
bakimlar
ORDER BY zamanDamgasi DESC
limit 1
day05