What is normal way to say:
INSERT INTO foo(title, description, dt) VALUES ('foo', 'bar', NOW());
This obvliously doesn't work:
$c->model('DB::Foo')->create({
title => 'foo',
description => 'bar',
dt => 'NOW()',
});
I'm making first steps with Catalyst, using DBIx::Class (MySQL).
Cannot use 'default NOW()' for that table.
Thanks.