-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using database functions on query #43
Comments
+1 |
+1 |
+1 |
For the time being, you could use date('c'). This php function will return a string compatible with TIMESTAMP fields. |
Hi, first, great lib!
I'm triying to set a date field using NOW() in mySQL, is this possible with idiorm?
$content->created = 'NOW()';
does escape and fill the database with wrong data 0000-00-00
The text was updated successfully, but these errors were encountered: