PHP - Manual: SQLite3Stmt::readOnly
2024-11-15
(PHP 5 >= 5.3.6, PHP 7, PHP 8)
SQLite3Stmt::readOnly — Returns whether a statement is definitely read only
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.