execute() public method
Executes the SQL statement.
This method should only be used for executing non-query SQL statement, such as INSERT, DELETE, UPDATE SQLs. No result set will be returned.
| public integer execute ( ) | ||
|---|---|---|
| return | integer |
Number of rows affected by the execution. |
| throws | yii\db\Exception |
execution failed |
Please login to continue.