sphinx\MatchBuilder buildSimpleMatch()

buildSimpleMatch() public method

Creates an Match expressions like "column" operator value.

public string buildSimpleMatch ( $operator, $operands, &$params )
$operator string

The operator to use. Anything could be used e.g. >, <=, etc.

$operands array

Contains two column names.

$params array

The expression parameters to be populated

return string

The MATCH expression

throws yii\base\InvalidParamException

on invalid operands count.

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

Please login to continue.