HI all, there is already a thread http://groups.google.com/group/cake-php/browse_thread/thread/fb93a2e5241c719/cc219332a9756281?lnk=gst&q=now()#cc219332a9756281 that recommends using a cake 'escape' !-' to use now() function literally, and not quoted but this does not work in RC2. The value is still quoted.
I.e. $data['FooModel']['foo_important_time'] =' !-now()'; still generates sql like `foo_important_time` = ' now()' etc. but I want to have `foo_important_time` = 'now() - unquoted Your help will be greatly appeciated. I do not want to use server time, because admins may mess it up and then there is a time mismatch (I am writing time expiration logic in mysql). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
