©
This document uses PHP Chinese website manual Release
(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)
dbplus_update — Update specified tuple in relation
$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.
此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。