SQLite3::busyTimeout

(PHP 5 >= 5.3.3, PHP 7, PHP 8)

SQLite3::busyTimeoutSets the busy connection handler

Açıklama

public SQLite3::busyTimeout ( int $milliseconds ) : bool

Sets a busy handler that will sleep until the database is not locked or the timeout is reached.

Değiştirgeler

milliseconds

The milliseconds to sleep. Setting this value to a value less than or equal to zero, will turn off an already set timeout handler.

Dönen Değerler

Returns true on success, başarısızlık durumunda false döner.