Я использую Zend_Db_Select для выполнения запроса с Соединением. Я заканчиваю со следующим SQL-запросом:
SELECT `Utilisateur`.*, `Ressource`.*, `Acl_Cache`.*, `Role`.*, `UtilisateurRole`.* FROM `Utilisateur`
INNER JOIN `Ressource` ON Ressource.idJointure = Utilisateur.id
INNER JOIN `Acl_Cache` ON Acl_Cache.idRessource = Ressource.id
INNER JOIN `Role` ON Role.id = Acl_Cache.idRole
INNER JOIN `UtilisateurRole` ON UtilisateurRole.idRole = Role.id
WHERE (Ressource.tableJointure = 'Utilisateur') AND (UtilisateurRole.idUtilisateur = '2')
Почему Zend_Db, добавляющий, что эта часть является ИЗБРАННЫМ пунктом:
, `Ressource`.*, `Acl_Cache`.*, `Role`.*, `UtilisateurRole`.*
Я никогда не спрашивал это, и я не хочу это. Как предотвратить это поведение?