GoLang dbplus_update

request it (221)
GoLang replacement for PHP's dbplus_update [edit | history]



Do you know a GoLang replacement for PHP's dbplus_update? Write it!

PHP dbplus_update

PHP original manual for dbplus_update [ show | php.net ]

dbplus_update

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

dbplus_updateUpdate specified tuple in relation

Description

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.

Parameters

relation

A relation opened by dbplus_open().

old

The old tuple.

new

The new tuple.

Return Values

Notes

Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.