[Catalyst] How to save timestamps using DBIx::CLASS?

kakimoto at tpg.com.au kakimoto at tpg.com.au
Tue Mar 3 02:43:35 GMT 2009


hello, everybody (simpsons doctor tone),
   
   How to save timestamps using DBIx::CLASS in a Catalyst app?

 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

    



More information about the Catalyst mailing list