GoLang SQLite3::busyTimeout

request it (338)
GoLang replacement for PHP's SQLite3::busyTimeout [edit | history]



Do you know a GoLang replacement for PHP's SQLite3::busyTimeout? Write it!

PHP SQLite3::busyTimeout

PHP original manual for SQLite3::busyTimeout [ show | php.net ]

SQLite3::busyTimeout

(PHP 5 >= 5.3.3, PHP 7)

SQLite3::busyTimeoutSets the busy connection handler

Description

public bool SQLite3::busyTimeout ( int $msecs )

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

Parameters

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.

Return Values

Returns TRUE on success, FALSE on failure.