execute() public method
Executes a SQL statement.
This method executes the specified SQL statement using $db.
| public void execute ( $sql, $params = [] ) | ||
|---|---|---|
| $sql | string |
The SQL statement to be executed |
| $params | array |
Input parameters (name => value) for the SQL execution. See yii\db\Command::execute() for more details. |
Please login to continue.