2008年8月4日星期一

[fw-db] Zend_Db_Table / Row / Rowset

Hello,

I am looking through the docs and see the save() method associated with
Zend_Db_Table_Row and Rowset, is there a method that will check for a primry
key val of XX and update it, otherwise insert it, automatically?

I want to be able to update a row in a table that may or may not be in the
table.
i would like to be able to just set my array to contain the record id i want
to update and execute save().
If that ID doesnt exisit, then insert instead of update.


--
View this message in context: http://www.nabble.com/Zend_Db_Table---Row---Rowset-tp18817752p18817752.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: