Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the command syntax that tells you whether you are on the master server or not? And how many master does mongodb allow?



What is the command syntax that tells you whether you are on the master server or not? And how many ..

Answer / Rajat Prakash Singh

To check if you're connected to the master server in MongoDB, use the `rs.isMaster()` command. MongoDB allows a replica set to have one primary and any number of secondary servers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Why do we need mongodb?

1 Answers  


What is mongodb automatic failover?

1 Answers  


What is mongodb tutorial?

1 Answers  


How can you access different databases temporarily?

1 Answers  


What is the command which are use to drop database in mongodb?

1 Answers  


Why mongodb is so popular?

1 Answers  


Is mongodb open source?

1 Answers  


Explain what are indexes in mongodb?

1 Answers  


Who developed MongoDB and when?

1 Answers  


What is the command syntax that tells you whether you are on the master server or not? And how many master does mongodb allow?

1 Answers  


What is orm mongodb?

1 Answers  


Does mongodb support sql server?

1 Answers  


Categories