From: David Schmidt Date: Sat, 2 Oct 2010 11:12:48 +0000 (+0200) Subject: example for columns explaining correlation to select/as X-Git-Tag: v0.08124~68 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=754cf88e231187af26e524a99130357fb5dbb500;p=dbsrgits%2FDBIx-Class.git example for columns explaining correlation to select/as --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 5a88d57..0e09041 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -3255,6 +3255,15 @@ it and sets C as normal. (You may also use the C attribute, as in earlier versions of DBIC.) +Essentially C does the same as L and L. + + columns => [ 'foo', { bar => 'baz' } ] + +is the same as + + select => [qw/foo baz/], + as => [qw/foo bar/] + =head2 +columns =over 4