These are chat archives for rsercano/mongoclient

Aug 2016
Rheisen Dennis
Aug 09 2016 14:24
I'm trying to update many in a local database where something is undefined
what does the query look like for that?
Sercan Özdemir
Aug 09 2016 15:46
Hello, I don't get what you mean exactly but you can do it with updateMany query in Mongoclient
Rheisen Dennis
Aug 09 2016 15:59
I figured it out, I was looking for the selector like
{"likes": undefined} gave me an error
{"likes": null} worked
Rheisen Dennis
Aug 09 2016 18:26
do you know how to search an array of id's for a specific id?