X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSet.pm;h=d51c4b9a4faca1cbf2f15625993ef4585fa04119;hp=a56285c6f67193cb20fc251511491124cd90afc4;hb=e9188247f020a63ab8b6280c9dcdcb0df5b5f0c1;hpb=90545b68b06c2d2d288d593462539fe45fff48a6 diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index a56285c..d51c4b9 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -1813,9 +1813,7 @@ Shortcut to include additional columns in the returned results - for example }); would return all CDs and include a 'name' column to the information -passed to object inflation. Note that the 'artist' is the name of the -column (or relationship) accessor, and 'name' is the name of the column -accessor in the related table. +passed to object inflation =head2 select @@ -1866,14 +1864,8 @@ Indicates additional column names for those added via L<+select>. =back -Indicates column names for object inflation. That is, c< as > -indicates the name that the column can be accessed as via the -C method (or via the object accessor, B). It has nothing to do with the SQL code C< SELECT foo AS bar ->. - -The C< as > attribute is used in conjunction with C contains one or more function or stored +Indicates column names for object inflation. This is used in conjunction with +C contains one or more function or stored procedure names: $rs = $schema->resultset('Employee')->search(undef, {