Relative Content

Tag Archive for node.jsfluttermongodbexpress

The factory._id cant be added inside the user table using node.js and mongodb

I’m new to the node.js and express.js. I’m building a flutter app where i can add the phone number that I want to invite in my database. With adding the phone number inside the database, it will also add the factories id that it assign to. for example, if i clicked the add button in factory one, the objectId of the factory should be returned. But the problem is, the user will be added without any factories id assign to it, even though it is the same as objectId.