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;

but the result contains all the columns, I also tried with the select
attribute with the same result. Is there something wrong ?

Thanks
_______________________________________________
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