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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.