SQLite3Stmt::execute
(PHP 5 >= 5.3.0, PHP 7)
SQLite3Stmt::execute — Executes a prepared statement and returns a result set object
说明
Executes a prepared statement and returns a result set object.
Caution
Result set objects retrieved by calling this method on the same statement object are not independent, but rather share the same underlying structure. Therefore it is recommended to call SQLite3Result::finalize(), before calling SQLite3Stmt::execute() on the same statement object again.
参数
此函数没有参数。
返回值
Returns an SQLite3Result object on successful execution of the prepared
statement, FALSE
on failure.
参见
- SQLite3::prepare() - Prepares an SQL statement for execution
- SQLite3Stmt::bindValue() - Binds the value of a parameter to a statement variable
- SQLite3Stmt::bindParam() - Binds a parameter to a statement variable