dbplus_getunique

Example

 int dbplus_getunique ( resource $relation , int $uniqueid ) 

Description

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

Return Values

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