Summary | Use SQL 'AS' aliases to remove the need for substr() handling of attribute names. |
Queue | Ansel |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | mrubinsk (at) horde (dot) org |
Created | 02/04/2008 (6442 days ago) |
Due | |
Updated | 05/24/2008 (6332 days ago) |
Assigned | |
Resolved | 05/24/2008 (6332 days ago) |
Milestone | |
Patch | No |
Assigned to Michael Rubinsky
State ⇒ Resolved
State ⇒ Accepted
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Use SQL 'AS' aliases to remove the need for substr() handling of attribute names.
Queue ⇒ Ansel
With a little renaming of table columns to avoid SQL reserved words,
the parameters replace loop could be replaced also.
For example the gallery_desc becomes gallery_description and you can
select columns with an "AS" sql alias inside he select statement.
Thus reducing the attribute selection to only one loop.