ZF-4235: Default alias for Table
Description
Zend_Db_Table should have ability to define default alias name for table and if defined automaticly added to every column/table name in query. Sth like: protected $_alias = 'tableAliasName'; //
Query: SELECT tableAliasName.* FROM tableName AS tableAliasName ORDER BY tableAliasName.orderColumn
Such option would be very helpfull to work with conditional joining other tables - no need to define aliases each time when they are needed.
Comments
Posted by Rob Allen (rob) on 2012-11-20T20:53:06.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.