What is the MongoDB equivalent of the below SQL query?[Choose all the apply]


SELECT count(*) FROM kgroup;

db.kgroup.find(

{count:1}

)

db.kgroup.count(

{*}

)

db.kgroup.count()

db.kgroup.find().count()

Verified Answer
Correct Option - cd

To get all Infosys Certified Mongo Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram