I had an error when assigning field with RawValue like this
$record = new Model();
$record->status = new \Phalcon\Db\RawValue('DD/MM/YYYY');
Error:
Column not found: 1054 Unknown column 'DD' in 'field list
Is there something wrong? Thanks.
I had an error when assigning field with RawValue like this
$record = new Model();
$record->status = new \Phalcon\Db\RawValue('DD/MM/YYYY');
Error:
Column not found: 1054 Unknown column 'DD' in 'field list
Is there something wrong? Thanks.