begin work on column aliasing feature
authorArthur Axel 'fREW' Schmidt <frioux@gmail.com>
Thu, 23 Feb 2012 01:58:20 +0000 (19:58 -0600)
committerPeter Rabbitson <ribasushi@cpan.org>
Thu, 20 Dec 2012 13:01:57 +0000 (14:01 +0100)
commit6106324913c309843c9aaf8ece328c77c857be87
treec2a9bf2182ca7b237318620c11028ff02ddd7453
parent1a08c5eddb5b57f5ba63440ee9ff66b1de2ab74e
begin work on column aliasing feature

Tests and attempt at initial implementation at a column aliasing feature
for queries. Specifying sql_alias => 'real_name' for a column in the
add_columns call would use the 'real_name' in SQL queries when the given
column name is encountered in a SQL::Abstract query.
lib/DBIx/Class/SQLMaker.pm
lib/DBIx/Class/Storage/DBI.pm
t/lib/DBICTest/Schema.pm
t/lib/DBICTest/Schema/BadNames1.pm [new file with mode: 0644]
t/sqlmaker/alias_column.t [new file with mode: 0644]