how would I set a single item in an array
when I say "set" I mean replace an item that is filtered based of one of its properties
if you dont quite understand heres my situation for clarity
I have a Meme object that is embeded in the savedMemes property array in the each user document
I want to update a specific meme in the savedMemes property array and I have an _id to reference it
I initially tried doing a $pull operation then a $push operation
but when I $pull the meme out the $push operation can no longer find to anyone with the unUpdated meme since he cant reference by its Id because its been pulled out
I looked into trying to use the $set operator but the issue is that all the instruction I can find dont specify how to set an item in an array property thats is filtered based one of its properties