[CDBI] Re: HOW TO populate creation date automatically?

Edward J. Sabol sabol at alderaan.gsfc.nasa.gov
Tue Jan 3 18:33:14 GMT 2006

Rhesa Rozendaal wrote:
> Why do you use _attribute_store here, which looks like an internal
> method? I use set() as follows in my base class, and it works fine for
> every table with a create_date column:

In general, you don't want to use set() or get() from inside a trigger, since
they invoke triggers themselves. _attribute_store() is the correct method to
use here. Refer to the documentation for evidence:


More information about the ClassDBI mailing list