elasticsearch\QueryBuilder build()

build() public method

Generates query from a yii\elasticsearch\Query object.

public array build ( $query )
$query yii\elasticsearch\Query

The yii\elasticsearch\Query object from which the query will be generated

return array

The generated SQL statement (the first array element) and the corresponding parameters to be bound to the SQL statement (the second array element).

doc_Yii
2016-10-30 17:02:11
Comments
Leave a Comment

Please login to continue.