where the 'created' column is a datetime, NOW() is never executed and is instead bound as a string argument, resulting in an invalid assignment.
This regression appears to have been introduced as a result of moving to the bindValue approach, which cannot support SQL functions in bound parameters. The documentation stating this work on insert/update is still in place.
It appears that using the
'#column' => 'NOW()'
syntax for updating columns during an update/insert is broken.
For example:
where the 'created' column is a datetime, NOW() is never executed and is instead bound as a string argument, resulting in an invalid assignment.
This regression appears to have been introduced as a result of moving to the bindValue approach, which cannot support SQL functions in bound parameters. The documentation stating this work on insert/update is still in place.