1

I have a collection with a particular field status.I want to query collection to find the records which have status="error" or "incomplete".I tried this

collectioname.find({"status":" 'error'||'incomplete' "})

But didnt worked.can some one help quickly.Thanks!!!

Community
  • 1
  • 1
user7350714
  • 365
  • 1
  • 6
  • 20

0 Answers0