SQLite3Stmt
PHP Manual

SQLite3Stmt::readOnly()

(PHP 5 >= 5.3.6, PHP 7)

SQLite3Stmt::readOnly()Returns whether a statement is definitely read only

Описание

public bool SQLite3Stmt::readOnly ( void )

Returns whether a statement is definitely read only. A statement is considered read only, if it makes no direct changes to the content of the database file. Note that user defined SQL functions might change the database indirectly as a side effect.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns TRUE if a statement is definitely read only, FALSE otherwise.


SQLite3Stmt
PHP Manual