DEV Community

cem kaan kosali
cem kaan kosali

Posted on • Updated on

couchbase you are an amazing database

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
Enter fullscreen mode Exit fullscreen mode

and

SELECT * 
FROM
    bakimlar 
    ORDER BY zamanDamgasi DESC
    limit 1
Enter fullscreen mode Exit fullscreen mode

day05

Discussion (0)