php8.5
Home/ Manual/ sqlite3 / sqlite3stmt/ SQLite3Stmt::busy

SQLite3Stmt::busy

PHP function Edit on GitHub ✎

(PHP 8 >= 8.5.0)

Returns whether the statement has been fetched but not yet completed

Description

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.

Parameters Parameters

Return Values

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

Changelog

VersionDescription
8.5.0This method was added.

See Also

  • SQLite3Stmt::execute
  • SQLite3Stmt::reset
  • SQLite3Stmt::close

Source: reference/sqlite3/sqlite3stmt/busy.xml · from the official PHP manual (php/doc-en)