[Dbix-class] get_inflated_columns and selecting specific columns
Matt S Trout
dbix-class at trout.me.uk
Sun Aug 17 18:51:20 BST 2008
On Wed, Aug 13, 2008 at 11:26:59AM -0400, Ronald J Kimball wrote:
> With search(), you can specify a set of columns to return, e.g.:
> select => [qw/ item_id name /],
>
> However, unlike get_columns(), get_inflated_columns() doesn't limit
> itself to those columns. Instead, it returns values for all the columns
> in the table. Of course, the value will beundef for any columns that
> weren't actually selected.
>
> Is this the intended behavior? It isn't clear to me from the documentation.
Probably not.
Patches welcome.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the DBIx-Class
mailing list