|
|
|
|
|
by richardv
4721 days ago
|
|
If you know that you need to be grouping by dates... then it's usually best to store the date fragments in a separate column so you can take advantage of indexes. The project is pretty cool, but I don't think it's worth adding the dependency lock-in for the functions. Simply, if you know ahead of time that you want GROUP BY date, then you should create a new column for each interval. `week`, `day`, `hour`. That way you will have fast queries... |
|