Hello,

This is proposal for a filtering component, similar to 
DBIx::Class::InflateColumn
It can -modify- columns transparently. When you read column - it inflates, 
when you write - deflates.
On creating a new column, whole cycle passed - deflating for DB and inflating 
for usage.
Module can handle scalars, because of it's destination - to modify data.

Module can works together with InflateColumn:
__PACKAGE__->modify_column('passw', ...);
__PACKAGE__->inflate_column('passw', ...);

In that case, when you read - it inflates into object by InflateColumn, then 
object will be modified by ModifyColumn. When wou write - there's reverse 
process.


-- 
Kind regards, Eugeny.

Attachment: ModifyColumn.pm.gz
Description: GNU Zip compressed data

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to