createCommand() public method
Creates a DB command that can be used to execute this query.
| public yii\elasticsearch\Command createCommand ( $db = null ) | ||
|---|---|---|
| $db | yii\elasticsearch\Connection |
The database connection used to execute the query. If this parameter is not given, the |
| return | yii\elasticsearch\Command |
The created DB command instance. |
Please login to continue.