International PHP Conference 2019 - Spring Edition

dbplus_getunique

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

dbplus_getuniqueGet 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

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top