I am trying to edit an array but I can only find mechanisms to push (single element or an array of elements) onto the end of an array with Monger
From looking at the Mongo api, there seems to be a $position operator but I cannot find out how to use it from the Monger docs:
Can you please help me with the syntax to unshift, insert and replace elements onto an array (either a single element or an array of elements)
I am very grateful from help you can offer.
All the best,
Ben