Node.js Mongodb toggling boolean operator doesnt work
Hello Im having a weird issue Ive looked in a few previous questions but ive ran into an issue Basically I have a document containing a boolean This boolean is called enabled Id like to switch it using the findOneAndUpdate…