sphinx\MatchExpression orMatch()

orMatch() public method

Adds an additional MATCH condition to the existing one.

The new condition and the existing one will be joined using the 'OR' ('|') operator.

See also:

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

The new WHERE condition. Please refer to match() on how to specify this parameter.

$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:11
Comments
Leave a Comment

Please login to continue.