diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index cdbbd6c37..735066a50 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -4156,7 +4156,7 @@ names: B You will almost always need a corresponding L attribute when you use L, to instruct DBIx::Class how to store the result of the column. -Also note that the L attribute has nothing to do with the SQL-side 'AS' +Also note that the L attribute has nothing to do with the SQL-side C identifier aliasing. You can however alias a function, so you can use it in e.g. an C clause. This is done via the C<-as> B for details. +with the same name already exists>) as shown below. + +The L attribute hasB with the SQL-side identifier +aliasing C. See L for details. $rs = $schema->resultset('Employee')->search(undef, { select => [