Subject: | Problem when inserting data using SQL functions |
When I use SQL functions to elements of my data :
my %data = {
DATE => \ ["to_date(?, 'DD.MM.YYYY')", '08.01.2015'],
};
My::Schema->insert(\%data);
I have this warning : "unexpected reference DATE in record, deleted".
The field DATE is deleting.
No problem when updating data using SQL functions.