Thanks J.D
But I didn’t understand what you said
…
‘rating’ is the (array) field where the below array is stored
[{
rating: 'rating 1',
value: '2'
},
{
rating: 'rating 2',
value: '0'
},
{
rating: 'rating 3',
value: '5'
}
];