stefano/stefano-lock-table
Composer 安装命令:
composer require stefano/stefano-lock-table
包简介
Build lock table sql query
关键字:
README 文档
README
Instalation using Composer
- Run command
composer require stefano/stefano-lock-table
Features
- build lock table sql string
- build unlock table sql string
- supported vendors mysql, postgresql
Usage
$factory = new \StefanoLockTable\Factory();
$vendor = 'Mysql'; //or any supported database
$adapter = $factory->createAdapter($vendor);
//build lock table sql string (exclusive lock)
$adapter->getLockSqlString('tableName');
$adapter->getLockSqlString(array('tableName', 'anotherTable'));
//build unlock table sql string
$adapter->getUnlockSqlString();
统计信息
- 总下载量: 5.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-01-23