SQLite3Stmt::readOnly()
(PHP 5 >= 5.3.6, PHP 7)
Returns whether a statement is definitely read only
说明
public SQLite3Stmt::readOnly(void): bool
Returns whether a statement is definitely read only. A statement is considered read only, if it makes nodirectchanges to the content of the database file. Note that user defined SQL functions might change the databaseindirectlyas a side effect.
参数
此函数没有参数。
返回值
Returns TRUE
if a statement is definitely read only,FALSE
otherwise.