Hello, first of all, i'm new to NodeJS and Javascript.I have a Question regarding Database requests. Currently, i'm trying to run a forEach-Loop to look for specific Informationen from the Database. During each loop-run, i invoke a function to run a query on the DB and with the results to instantiate a new Object and push it into an Array.If i would run my Style of Code in Java, it should be fine, but somehow i end up with an error, trying to access a Method of an undefined newly created Object. I think there is a Concurrency Problem.If more information regarding my Code is needed, i'm happy to provide that. Thanks in advance
Submitted December 29, 2017 at 11:54PM by cwFry
No comments:
Post a Comment