1
Good? I would like to know how to reverse the order of display of bank items
async index(req, res){
const docs = await Vag.find();
return res.json(docs);
},
[
{item1},
{item2},
{item3}
]
If so the display order is increasing, as I do for the data to be displayed decreasingly.
ps: I am using Mongodb
It worked here, thank you very much Mauro Rocha.
– S99
Cool! Good luck there!
– Mauro Rocha