Re: [html-formfu] set non-db column and use in ->update

2014-02-04 Thread Stephen Shorrock
Many thanks Carl, No rush on the optimization. I appreciate the time you have already put in writing the module. I actually removed the constraints as the elements were principally option lists, and if someone wanted it to fail then they would have to put the effort in to do so, I can also filter

Re: [html-formfu] set non-db column and use in ->update

2014-02-04 Thread Carl Franks
> I'd like to set a non db column value eg; > > __PACKAGE__->mk_group_accessors('simple' => qw/filter_update/); > > $row->filter_update(1); Hi Stephen, Sorry I've not managed to look at your earlier performance issues yet - I've not had any free time available :( >From memory, H::F::Model::DBIC o

[html-formfu] set non-db column and use in ->update

2014-02-03 Thread Stephen Shorrock
Hi, I'd like to set a non db column value eg; __PACKAGE__->mk_group_accessors('simple' => qw/filter_update/); $row->filter_update(1); before I call $form->model->update($row) so that when the $row->update() function is run it acts in a particular way. Is this possible? $row->update() curren