The accessor is only used to create the object accessors, search has
always used the column names and not the accessor names.

Am 2012-04-02 00:34, schrieb Charlie Garrison:
> Good morning,
>
> On 30/03/12 at 2:49 PM -0400, Maddy, Noel <[email protected]> wrote:
>
>> Is there any way to provide consistent aliasing for column names
>> so that the parameters to ->search() and the column accessors
>> use the same column aliases?
>
> <https://metacpan.org/module/DBIx::Class::ResultSource#add_columns>
>
> Look at the `accessor` attribute; don't know whether it will help with
> custom column names when doing a `search`.
>
>
> Charlie
>


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be 
privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

_______________________________________________
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/[email protected]

Reply via email to