Is there a way to transform the array of objects shown below:
[{ category:"AAA" },{ category:"BBB" },{ category: "CCC" }]
Into a new format like this:
["AAA","BBB","CCC"]
, without relying on filtering or traditional array functions in the backend, but by utilizing MongoDB directly?