略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SQLite3Stmt::readOnly

2024-11-15

SQLite3Stmt::readOnly

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

SQLite3Stmt::readOnlyReturns whether a statement is definitely read only

说明

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.

参数

此函数没有参数。

返回值

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sqlite3stmt.readonly.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3