MongoDB: how to shuffle array and this new order be permanantly saved?
So suppose I have a document like: { _id: 1, items: ["aaa", "bbb", "ccc", "ddd", "eee"...] } I would like to shuffle the items list once, with this order saved in the table - i.e. I don't want to call…