t27duck / active_reporting

OLAP-like DSL for ActiveRecord-based reporting
MIT License
136 stars 19 forks source link

Add date_trunc function to mysql #17

Open andresgutgon opened 6 years ago

andresgutgon commented 6 years ago

What is this?

Do a db_adapter to abstract date_trunc. This way I can implement in Ruby all the methods that generate the necessary methods to do date tuncation on SQL.

TODO

andresgutgon commented 6 years ago

Yes, it's finish :). Do you see it ok?