[Dbix-class] Filtering module
jackal
me at jackal.in
Tue Oct 21 12:11:37 BST 2008
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModifyColumn.pm.gz
Type: application/x-gzip
Size: 2045 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20081021/93c05f2a/ModifyColumn.pm.bin
More information about the DBIx-Class
mailing list