dbplus_update

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)

dbplus_updateUpdate 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.

返回值

注释

Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

User Contributed Notes

There are no user contributed notes for this page.