i have a document as
{ "_id" : ObjectId("5de2a0a2336a4c5adc3fc25c"), "image" : { "otherImages" : [ { "imageUrl" : "HL2370207N_1575195338958.jpg", "status" : true }, { "imageUrl" : "HL2370207N_1575195373805.jpg", "status" : true }, { "imageUrl" : "HL2370207N_1575195382992.jpg", "status" : true } ] } }
I have to delete an item of an otherImages array whose imageUrl is "HL2370207N_1575195382992.jpg" $pull cannot applied since it is under node image which is not an array. please give any guidance . i am new to the mongoDB