Yes. I'll get to this if I can by ZF 0.9. It should be supported in update() as well.
Regards, Bill Karwin > -----Original Message----- > From: Nathan Bell [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 11, 2007 3:15 AM > To: 'Zend Framework' > Subject: [fw-general] Zend_Db_Expr > > Is there plans to make Zend_Db_Expr work on insert data? It doesn't > appear to be evaluated currently: > > $row = array ( > 'noble_title' => 'King', > 'first_name' => 'Arthur', > 'created' => new Zend_Db_Expr("NOW()") > ); > > $rows_affected = $db->insert('people', $row); > $last_insert_id = $db->lastInsertId(); >
