Closed freercurse closed 3 months ago
after some more work, I found the issue. when using a middleware JS file to pass the connection object to each route, the connection.on'connect' needs to call the request.exec() to ensure that correct the correct state is achieved
Glad to hear that you got the issue resolved. I will close this one for now. If any further help needed , do not hesitate to post a new one.
Software versions
Additional Libraries Used and Versions N/A
Table schema
Connection configuration
// Paste your connection config here.
Problem description regardless of the way I write out the Table name, brackets, no brackets, plain string, adding database name, not adding db name. i have confirmed that the query and URL works perfectly through the VS CODE SQL Server extension.
Expected behavior the URL is parsed correctly, it finds the tables and correctly executes the query
Actual behavior
Error message/stack trace ^^
Any other details that can be helpful N/A