Reading values
Rating attribute values have avalue
property:
Writing values
To write rating values, you can either pass an integer directly, or an object with a single key,value
.
As all rating attributes are single-select, you may pass the value directly or as an array containing a single element.
Filtering
Ratings can be filtered by the operators$eq
, $gte
, $gt
,$lte
,$lt
. The implicit syntax does an exact equality check: