I'm using mongodb native driver in a nodejs
environment and I need to convert an id
string to ObjectId to use it in my update query, how can I do this?
How to convert a string to ObjectId in nodejs mongodb native driver?
Leave a reply
I'm using mongodb native driver in a nodejs
environment and I need to convert an id
string to ObjectId to use it in my update query, how can I do this?