[Dbix-class] How to find updated fields

Rob Kinyon rob.kinyon at gmail.com
Thu Mar 22 23:33:05 GMT 2007


On 3/22/07, RA Jones <ra.jones at dpw.clara.co.uk> wrote:
> In my applications I frequently record in a log file which fields were
> updated by which users. Is there an easy way in DBIC to find out which
> fields got updated during an update() or update_or_insert() action? Thanks.

Look for the get_dirty_columns() method on the Row object.

Rob



More information about the Dbix-class mailing list