Php/docs/sqlite3stmt.execute

来自菜鸟教程
跳转至:导航、​搜索

SQLite3Stmt::execute

(PHP 5 >= 5.3.0, PHP 7)

SQLite3Stmt::executeExecutes a prepared statement and returns a result set object


说明

public SQLite3Stmt::execute ( ) : SQLite3Result

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.


参见