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

SQLite3Stmt::explain

PHP function Edit on GitHub ✎

(PHP 8 >= 8.5.0)

Returns the explain mode of the statement

Description

SQLite3Stmt::explain(): int

Returns the explain mode currently set on the statement with SQLite3Stmt::setExplain.

Parameters Parameters

Return Values

Returns one of SQLite3Stmt::EXPLAIN_MODE_PREPARED, SQLite3Stmt::EXPLAIN_MODE_EXPLAIN, or SQLite3Stmt::EXPLAIN_MODE_EXPLAIN_QUERY_PLAN.

See Also

  • SQLite3Stmt::setExplain
  • SQLite3Stmt::execute
  • SQLite3Stmt::reset

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