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?

I see DBIx::Class::Result::ProxyField on CPAN, but it looks not
quite complete?

Background: I'm trying to use DBIx::Class to access data from
a commercial database application. The app has completely
inconsistent column names, where the same column (often
a foreign key) has slightly or completely different names in
each table. I'd like to be able to consistently alias the columns
so that using the schema doesn't involve thinking, "Oh, I'm
using table X, not table Y, so the column I want is named Foo..."

Thanks,
Noel

________________________________
CONFIDENTIALITY NOTICE: This email contains information from the sender that 
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected 
from disclosure. This email is intended for use only by the person or entity to 
whom it is addressed. If you are not the intended recipient, any use, 
disclosure, copying, distribution, printing, or any action taken in reliance on 
the contents of this email, is strictly prohibited. If you received this email 
in error, please contact the sending party by reply email, delete the email 
from your computer system and shred any paper copies.

Note to Patients: There are a number of risks you should consider before using 
e-mail to communicate with us. See our Privacy Policy and Henry Ford My Health 
at www.henryford.com for more detailed information. If you do not believe that 
our policy gives you the privacy and security protection you need, do not send 
e-mail or Internet communications to us.
_______________________________________________
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