|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-03-25 21:05 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
[2015-03-25 21:05 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
Description: ------------ In the PEAR version of DB_DataObjects, I can give an alias to a joined table like this: $main_table = DB_DataObject::factory('main_table'); $joined_table = DB_DataObject::factory('joined_table'); $main_table->joinAdd($joined_table, '', 'jt'); The generated SQL then starts like this: SELECT * FROM main_table, joined_table AS jt I want to generate the following SQL instead: SELECT * FROM main_table AS mt, joined_table AS jt But this capability does not exist in the PEAR module. I presume the same limitations currently exist in the PECL version.