[Dbix-class] Inflate column depending of other column

fREW Schmidt frioux at gmail.com
Tue Oct 30 02:35:54 GMT 2012


First:
http://search.cpan.org/~jlmartin/DBIx-Class-InflateColumn-Serializer-0.03/l=
ib/DBIx/Class/InflateColumn/Serializer/JSON.pm

Second: yes

Third: use sub + next::method to do what you want
On Oct 29, 2012 12:50 PM, "Rolf Schaufelberger" <rs at plusw.de> wrote:

> Hi,
>
> I would like to inflate a column value  from json to perl-Hash , but only
> if another column has a certain value.
> Do I have acces to the whole fetched  row from within  inflate_colum ?
>
>
> Rolf Schaufelberger
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20121029/1be=
28b71/attachment.htm


More information about the DBIx-Class mailing list