Return array of objects grouped by date

Want to group entries based on their date (see screenshot), and so far I'm solving this on client-side with a reduce function. Is it possible to achieve the same with maybe a view or something else directly from "server"-side/supabase? Would appreciate links to examples or which postgresql function I should look into!
image.png
Was this page helpful?