createCommand() public method
Creates a DB command that can be used to execute this query.
public yii\sphinx\Command createCommand ( $db = null ) | ||
---|---|---|
$db | yii\sphinx\Connection |
The DB connection used to create the DB command. If null, the DB connection returned by $modelClass will be used. |
return | yii\sphinx\Command |
The created DB command instance. |
Please login to continue.