On 03/03/2009, at 1:43 PM, [email protected] wrote:


hello, everybody (simpsons doctor tone),

  How to save timestamps using DBIx::CLASS in a Catalyst app?


http://search.cpan.org/dist/DBIx-Class-TimeStamp/

also http://search.cpan.org/perldoc?DBIx::Class::InflateColumn::DateTime

further details in here:

http://search.cpan.org/perldoc?DBIx::Class::Tutorial::Part3


For example, assume there is a database table named "Subscriptions"
which has the following definitions:

id (primary key),
name,
type,
costs,
activation_status,
created_by,
created_on,
updated_by,
updated_on.

* Using DBIx::Class, how do we set timestamps as in the values for the
attributes, created_on and updated_on?



Thank you

K. akimoto



_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to