arrayAttributes() public method
A list of attributes that should be treated as array valued when retrieved through yii\elasticsearch\ActiveQuery::fields().
If not listed by this method, attributes retrieved through yii\elasticsearch\ActiveQuery::fields() will converted to a scalar value when the result array contains only one value.
public string[] arrayAttributes ( ) | ||
---|---|---|
return | string[] |
List of attribute names. Must be a subset of attributes(). |
Please login to continue.