Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

Which of the following is the correct operation to query a document for both 'Football' and "Reading" within the interests data collected from a profile?

db.profile.find({interests: {$in: ["Football", "Reading"] }})
db.profile.find({$or: [{interests: "Football"}, {interests: "Reading"}]})
db.profile.find({interests: "Football", interests: "Reading"})
db.profile.find({interests: {$all : ["Football", "Reading"] }})
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon