I'd like to atomically remove an item from an array. I was looking at using findAndModify but I'm not sure how that would work. Any direction on how to atomically remove an item from an array in a doc would be much appreciated!
Thanks!
I'd like to atomically remove an item from an array. I was looking at using findAndModify but I'm not sure how that would work. Any direction on how to atomically remove an item from an array in a doc would be much appreciated!
Thanks!