SQLite3Stmt::busy
PHP Manual
PHP Manual»SQLite3Stmt»SQLite3Stmt::busy

SQLite3Stmt::busy

(PHP 8 >= 8.5.0)

SQLite3Stmt::busy — Returns whether the statement has been fetched but not yet completed

说明

public function SQLite3Stmt::busy(): bool

Returns whether the statement is busy, i.e. it has been started with SQLite3Stmt::execute() and has rows remaining to be fetched, but has not yet been completed or reset.

参数

此函数没有参数。

返回值

Returns true if the statement has been executed and still has rows to fetch, false otherwise.

更新日志

版本 说明
8.5.0 This method was added.

参见

To Top