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). |
Please login to continue.