DEV Community

sm-a
sm-a

Posted on

[SOLVED] Mongoose create not executed when I do before a for loop. Please help?

When I execute the code below I don't get any documents in Mongoose for "Detail"-collection - see line 11 in the code. Why doesn't it work? I am grateful for every tip.

I made a mistake in the previous code. Therefore it is solved now.

Top comments (0)