brett gardner wrote:
> Just checking that when the documentation in the
> DBIx::Class::InflateColumn package says under the inflate_column method :
>
> "The |inflate| method is called when you access the field, while the
> |deflate| method is called when the field needs to used by the database."
>
> it means that this is only called when you use the field accessor method
> and not the get_column method. eg this method is only called when you do
> "$foo->bar" and not when you do "$foo->get_column('bar')".
>
> This is currently how it works and I am just checking that this is by
> design and won't be changed in the future.
Yes, it's by design, hence the existence of get/set_inflated_column to deal
with the inflated value if you aren't going through the accessors.
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/