looking for some solutions? You are welcome.

SOLVED: Create mongodb collections of a JSON response key value


I am new in MongoDb and NodeJS. I want to create collections of a table.

Here is my JSON response :-

    "_id": "5c85f83516f5ad7ef3e14",
    "companyName": "XYZ",
    "fullName": "ABC",
    "designation": "Software Engineer",
    "companyID": "14224",

Here I am getting an unique companyID for a particular companyName. I want to create as many collections as there will be unique companyID. How can I achieve it by NodeJS , ExpressJS code ?

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: