Forum und email

dbplus_update

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_update — Update specified tuple in relation

說明

int dbplus_update ( resource $relation , array $old , array $new )

dbplus_update() replaces the old tuple with the data from the new one, only if the old completely matches a tuple within relation .

參數

relation

A relation opened by dbplus_open().

old

The old tuple.

new

The new tuple.

Return值

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。