Which of the following method returns true if the cursor has documents?(a) hasMethod()(b) hasNext()(c) hasDoc()(d) all of the mentionedThe question was asked at a job interview.My question comes from Getting Started with MongoDB topic in portion MongoDB CRUD Concepts and Operation of MongoDB
Write Your Comments or Explanations to Help Others