|
|||
|
Hi,
I have a slight annoyance with Zend_db (having recently migrated from ADODB) in that any table you join, it also puts table.* in the SELECT part of the statement. Is there a way to pass a parameter to turn this off or does it have to be edited directly? I don't want to edit the source code too much for later upgrades etc. Thanks A |
|
|||
|
Always best to check the API when you want to know what parameters a function may take.
Docs For Class Zend_Db_Select The third parameter, a list of columns to fetch, defaults to self::SQL_WILDCARD, that is by default all columns are fetched. I believe an empty array() will select no columns, which is what you're trying to do. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|