I can able to push data from .json file to mongodb with mongo import command but i want to create collections with command by giving mongodb credentials ? can anyone have idea ?
can you please expalin how to do it ?
We need to pull from the .js file from repository and it should create the collections in mongodb by giving database name & credentials in the command
New contributor
user25146614 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.