Forum und email

dbplus_getunique

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

dbplus_getunique — Get an id number unique to a relation

설명

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 .

매개변수

relation

A relation opened by dbplus_open().

uniqueid

반환값

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

주의

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.