Php/docs/function.dbplus-lockrel

来自菜鸟教程
跳转至:导航、​搜索

dbplus_lockrel

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

dbplus_lockrelRequest write lock on relation


说明

dbplus_lockrel ( resource $relation ) : int

Requests a write lock on the given relation.

Other clients may still query the relation, but can't alter it while it is locked.


参数

relation
A relation opened by dbplus_open().


返回值

注释

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