nigelwright7557
New Coder
A couple of years ago I wrote a ecommerce website and it worked great.
I recently came back to it and it didnt work at all.
The way sql server and nodejs has changed and is causing problems.
I could await different parts of setting up database.
Now that no longer works.
The current problem is if I use a loop to insert refcords into database.
If I input one record it works fine.
If I input more than one I get a connection lost error.
Its like sql is trying to write all teh records at once and getting in a mess.
Any clues as to why things have changed ?
Its currently jus ta big mess.
I recently came back to it and it didnt work at all.
The way sql server and nodejs has changed and is causing problems.
I could await different parts of setting up database.
Now that no longer works.
The current problem is if I use a loop to insert refcords into database.
If I input one record it works fine.
If I input more than one I get a connection lost error.
Its like sql is trying to write all teh records at once and getting in a mess.
Any clues as to why things have changed ?
Its currently jus ta big mess.