1

I'm using a PC and I'm learning how to use Mongo. I have my Command Prompt open and I did two queries with typos.

typo1: db.ninjas.find(_id: ObjectId("58ebfea52bba9b052721d178") 
typo2: db.ninjas.fin({_id: ObjectId("58ebfea52bba9b052721d178")}) 

Because of the typos, the search is still being conducted. How do I cancel a search?

Anthon
  • 69,918
  • 32
  • 186
  • 246
kristeen
  • 11
  • 1
  • 2
    Possible duplicate of [How do I abort a running query in the MongoDB shell?](http://stackoverflow.com/questions/26940616/how-do-i-abort-a-running-query-in-the-mongodb-shell) – helmy Apr 10 '17 at 23:33

0 Answers0