SQLite3Stmt::execute

Executes a prepared statement and returns a result set object

Description

public SQLite3Resultfalse SQLite3Stmt::execute()

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.

Parameters

This function has no parameters.

Return Values

Returns an SQLite3Result object on successful execution of the prepared statement, false on failure.

See Also

  • SQLite3::prepare
  • SQLite3Stmt::bindValue
  • SQLite3Stmt::bindParam