just a quick DBIx::Class question:
What is the proper way to check if an object is dirty?
Currently I simply do
which works, however in my particular case I don't really care about which columns are dirty - only if there is at least one of them dirty, so I am throwing information away that DBIx::Class worked so hard to obtain...if( $obj->get_dirty_columns ) { # $obj is dirty ...
Is that nevertheless the proper way to check?
Many thanks!
In reply to checking for dirtyness in DBix::Class by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |