i am quiet new to java script and node js, i am trying to get a value from a MySQL DB, and the return value is [object Object] instead of a string. i didn\'t really found any a
Use one of the options:
console.log("%o", yourObjName) console.log(JSON.stringify(yourObjName)) console.log(JSON.stringify(yourObjName, null, 3))