I don't know why it's not included I'm afraid, perhaps someone from the DB team could let us know? You could create a new issue in JIRA for this to be added.

There is no built in way to change the object returned by Zend_Db_Adapter::select no, as it's hard coded. You can either extend the adapter as well, and override the select method, or just create the select objects without the helper method, i.e.

$select = new My_Db_Select($adapter);

Daniel Rossi wrote:
I just added this to zend_db_select, it was easy to add, not sure why only half of the things are supported ?

const NATURAL_LEFT_JOIN = 'natural left join';

 public function joinLeftNatural($name, $cols = '*', $schema = null)
    {
return $this->_join(self::NATURAL_LEFT_JOIN, $name, null, $cols, $schema);
    }

I dont really like to break or add things but oh well, maybe I could extend it ?

On 06/09/2007, at 4:36 AM, Daniel Rossi wrote:



--
Jack

Reply via email to