GoLang dbplus_getunique

request it (277)
GoLang replacement for PHP's dbplus_getunique [edit | history]



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

PHP dbplus_getunique

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

dbplus_getunique

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

dbplus_getuniqueGet an id number unique to a relation

Description

int dbplus_getunique ( resource $relation , int $uniqueid )

Obtains a number guaranteed to be unique for the given relation and will pass it back in the variable given as uniqueid.

Parameters

relation

A relation opened by dbplus_open().

uniqueid

Return Values

Returns DBPLUS_ERR_NOERR on success or a db++ error code on failure.

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.