Cmd(Mongo shell on win) problem

Hey guys, when i try to use commCapture and insert one i face below Eror ! I dont why it appears, please help me to find a solution.

[js] TypeError: db.moviesScratch.insertone is not a function :

@Ali_92780

Case sensitive on insertOne.
db.movieScratch.insertOne()

Instead of your screenshot of
db.moviesScratch.insertone()

2 Likes

Hi @Ali_92780,

You can also refer to the following documentation for more information about the insertOne() function:

Please let me know, if you have any questions.

Thanks,
Sonali