To select distinct rows according to the attribute's value, use a custom iterator.
[ { type: "car", brand: "Tesla" }, { type: "plane", brand: "Airbus" }, { type: "plane", brand: "Boeing" }, { type: "car", brand: "Toyota" } ];
{d[type].brand}
{d[type+1].brand}
Tesla
Airbus
Last updated 2 years ago