Skip to content

Add date_trunc function to MySQL#1

Open
andresgutgon wants to merge 1 commit intomasterfrom
feature/how-to-add-a-rails-template-generator
Open

Add date_trunc function to MySQL#1
andresgutgon wants to merge 1 commit intomasterfrom
feature/how-to-add-a-rails-template-generator

Conversation

@andresgutgon
Copy link
Copy Markdown
Owner

What?

This was my first aproach on trying to add date_trunc function for MySQL here. This function is only available on PostGreSQL natively but you can create it as mysql custom function. The thing is I ended proposing doing an adapter.

I want to keep this code here because I learnt how to do a Rails generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant