createCommand() public method
Creates a command for execution.
public yii\db\Command createCommand ( $sql = null, $params = [] ) | ||
---|---|---|
$sql | string |
The SQL statement to be executed |
$params | array |
The parameters to be bound to the SQL statement |
return | yii\db\Command |
The DB command |
Please login to continue.