elasticsearch\Query options()

options() public method (available since version 2.0.4)

Sets the options to be passed to the command created by this query.

See also yii\elasticsearch\Command::$options.

public $this options ( $options )
$options array

The options to be set.

return $this

The query object itself

throws yii\base\InvalidParamException

if $options is not an array

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

Please login to continue.