On Tue, Apr 09, 2013 at 03:19:07PM +0200, max wrote:
> Hi all,
> I'm new to DBIx, I'm trying to retrieve only a subset of columns from a
> result set:
> my @recs=$self->db->resultset($self->table)->search({},{columns => [qw/ id
> Name OperationId Name /],},)->all;

The above looks correct

> but the result contains all the columns,

How did you determine this?

Also what does the DBIC_TRACE=1 look like?


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