-- ViShap <[EMAIL PROTECTED]> wrote
(on Wednesday, 24 October 2007, 07:55 PM +0200):
> Thank you for this respond!
> 
> Err, is there a way to stop the automatic "describe" ?
> If it is, I will change the structure tonight to Zend_Db_Table \o/
> (otherwise the overhead is no good  :( )

This is done to allow configuration-less use of Zend_Db_Table. The
DESCRIBE is used to determine what fields are available, as well as
information on those fields.

That said, you can cache the metadata so that subsequent calls don't
need to perform the describeTable() call; read through the following
documentation for information doing that:

    
http://framework.zend.com/manual/en/zend.db.table.html#zend.db.table.metadata.caching


> -----Original Message-----
> 
> (...)
> Okay, only *now* have you indicated what you were trying to accomplish.
> And yes, you can do this:
> 
>     $adapter = $Info->getAdapter();
>     $where   = $adapter->quoteInto('users.nick = ?', 'fooBar')
>              . ' AND users.nick = users_ID';
>     $Info->update($fields, $where);
> 
> 

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to