in reply to RFC - A multi table SQL Builder
select => [ 'A.foo', 'E.bar', ],
to allow me to provide field aliases, like so:
select => [ 'A.foo', #normal { 'A.foo' => 'the_foo' }, #simple { 'E.bar' => { alias => 'the_e_bar' } }, #flexible ],
resulting in the following SQL:
SELECT A.foo, A.foo the_foo, E.bar the_e_bar
/J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC - A multi table SQL Builder
by dragonchild (Archbishop) on Oct 18, 2004 at 12:36 UTC | |
by jplindstrom (Monsignor) on Oct 18, 2004 at 14:11 UTC |