Forum und email

dbplus_getunique

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

dbplus_getunique — Get an id number unique to a relation

Popis

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 .

Parametre

relation

A relation opened by dbplus_open().

uniqueid

Vrátené hodnoty

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

Poznámky

Warning

Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.