Glossary: PostgreSQL for Developers
date_trunc
A function that cuts a moment down to the start of a unit such as month, day, week or year, handy for grouping, as in orders per month.
Glossary: PostgreSQL for Developers
A function that cuts a moment down to the start of a unit such as month, day, week or year, handy for grouping, as in orders per month.