I am trying InsertOne to create a document from the shell. I get error db.moviesScratch.insertone is not a function : @shell):1:1
Syntax error please
insertone is not same as InsertOne
Please feel free to get back to us if you have any other query.
Curriculum Services Engineer
Thanks for pointing me in the right direction. the correct syntax is actually insertOne
Closing this thread as the issue has been resolved.