Re: DB_DataObject multiple deletes

From: Date: Wed, 27 Jul 2005 22:38:24 +0000
Subject: Re: DB_DataObject multiple deletes
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20166@lists.php.net to get a copy of this message
Hi Justin, It produces the following error and does not perform the find sql: Undefined index: data_select This error is generated in the find function in the following code: $sql = 'SELECT ' . $this->_query['data_select'] . ' FROM ' . ($quoteIdentifiers ? $DB->quoteIdentifier($this->__table) : $this->__table) . " " . $this->_join . $this->_query['condition'] . ' '. $this->_query['group_by'] . ' '. $this->_query['having'] . ' '. $this->_query['order_by'] . ' '; Regards, Etienne. "Justin Patrin" <papercrane@gmail.com> wrote in message news:432beae050727091955040f73@mail.gmail.com... Yes, this should work fine. You should also be able to delete with a fetch() loop. Are you sure the data is being fetch properly? Try doing: DB_DataObject::debugLevel(1); and watching for errors. You can use up to 5 for more information. -- Justin Patrin

« previous php.pear.general (#20166) next »