elasticsearch\Query createCommand()

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 elasticsearch application component will be used.

return yii\elasticsearch\Command

The created DB command instance.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.