I have a query db.collection('image').find({ category: "concept art"}, { projection: _id: 0, imgUrl:1 }).toArray() and have an output:
[
{
"imgUrl": "images\\2020-01-23T14-41-48.158Z-abandoned.jpg"
},
{
"imgUrl": "images\\2020-01-25T01-45-14.880Z-pIMG_6443.jpg"
}
]
I want an output like this:
[
"images\\2020-01-23T14-41-48.158Z-abandoned.jpg",
"images\\2020-01-25T01-45-14.880Z-pIMG_6443.jpg"
]
Where can I find some information about this or how to achieve this?