sphinx\Query createCommand()

createCommand() public method

Creates a Sphinx command that can be used to execute this query.

public yii\sphinx\Command createCommand ( $db = null )
$db yii\sphinx\Connection

The Sphinx connection used to generate the SQL statement. If this parameter is not given, the sphinx application component will be used.

return yii\sphinx\Command

The created Sphinx command instance.

doc_Yii
2016-10-30 17:12:17
Comments
Leave a Comment

Please login to continue.