Tuesday, 14 March 2017

Mongoose reference

i'm learning mongoDb and Mongoose. I have problems with the reference. I have 2 file call users.js and auctions.js in which i have written the schemas

When i try to fill the users collection like this:user seeder, it works. But when i try to fill the auctions like this: auction seeder, it doesn't. Nothing happens, errors neither. Where i go wrong?



via Marco Pagano

No comments:

Post a Comment