PHP 8.4.0 RC4 available for testing

SQLite3Stmt::readOnly

(PHP 5 >= 5.3.6, PHP 7, PHP 8)

SQLite3Stmt::readOnlyReturns whether a statement is definitely read only

Açıklama

public SQLite3Stmt::readOnly(): bool

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.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Returns true if a statement is definitely read only, false otherwise.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top