# dbplus_freelock

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

dbplus_freelock — Release write lock on tuple

### 说明

dbplus_freelock ( resource `$relation` , string `$tuple` ) : int

Releases a write lock on the given `tuple` previously obtained by dbplus_getlock().

### 参数

`relation`

  A relation opened by dbplus_open().

`tuple`

### 返回值

### 注释

Warning

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

### 参见

- dbplus_getlock() - Get a write lock on a tuple
- dbplus_freerlocks() - Free all tuple locks on given relation
- dbplus_freealllocks() - Free all locks held by this client