[Dbix-class] Consistent column name aliasing?

Charlie Garrison garrison at zeta.org.au
Sun Apr 1 22:34:03 GMT 2012


Good morning,

On 30/03/12 at 2:49 PM -0400, Maddy, Noel <NMADDY1 at hfhs.org> 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

-- 
    Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt




More information about the DBIx-Class mailing list