sphinx\MatchExpression match()

match() public method

Sets the MATCH expression.

The method requires a $condition parameter, and optionally a $params parameter specifying the values to be parsed into the expression.

The $condition parameter should be either a string (e.g. '@name "John"') or an array.

See also:

public $this match ( $condition, $params = [] )
$condition string|array|yii\db\Expression

The conditions that should be put in the MATCH expression.

$params array

The parameters (name => value) to be parsed into the query.

return $this

The expression object itself

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

Please login to continue.