Mongodb – Compare if ObjecticID already exist or not in array
In mongo, I made history column array for each user to get the Id of specific card, so I would like to made a condition or not for knowing that : To understand my code : find the ID user,…