Name

execute — Executes a statement

Synopsis

statementObj.execute

Description

#execute executes the statement and returns a boolean value indicating the progress of the execution. On a blocking connection, it always returns true. On a non-blocking connection, it returns true if the statement finished. Otherwise it returns false. In this case, repeated calls to #execute must be made to check whether the statement has finished. Until it completes, an attempt to execute any other statement will raise an exception.