Skip to content

Get MongoDB Shell command to PRIMARY from the Mongo URL

License

Notifications You must be signed in to change notification settings

fangjj/pick-mongo-primary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pick-mongo-primary

Get MongoDB Shell command to PRIMARY from the Mongo URL

Simply call following command

npm install -g pick-mongo-primary
mongo $(pick-mongo-primary <MONGO_URL>)

About

Get MongoDB Shell command to PRIMARY from the Mongo URL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%