Friday, 2 November 2018

Expressjs and pg-promise (Help !)

Hi all, anyone used this package? I am having trouble handling the response data from the query... I am very new to node and the only way i found to get the query working is with the .any, .one and .many methods. Thing is whenever, I move the data to a variable and try to access it it says its undefined, today I tried another different thing with the REQUEST package for handling http request, and the response i get has the same problem as the query, UNDEFINED result, i know i got to parse or define the method data type from within the query but dont know how... Anyways, any help is apreciated :)

Submitted November 02, 2018 at 09:08PM by HarrityRandall

No comments:

Post a Comment