Php/docs/sqlite3.busytimeout
来自菜鸟教程
SQLite3::busyTimeout
(PHP 5 >= 5.3.3, PHP 7)
SQLite3::busyTimeout — Sets the busy connection handler
说明
public SQLite3::busyTimeout
( int $msecs
) : bool
Sets a busy handler that will sleep until the database is not locked or the timeout is reached.
参数
msecs
- The milliseconds to sleep. Setting this value to a value less than or equal to zero, will turn off an already set timeout handler.
返回值
Returns true
on success, 或者在失败时返回 false
.