I am querying my db in node and have got the result in the form of an object like this - [ [1234] ].
I want to extract this value and convert it into a string and then pass it onto the client side. I have written the other required code but I am not able to get value from this object. Can anyone help me in getting the value and converting it to string?
{}, what you have is an array[]. And it's only element is another array, that again has only one element, a number. so whatever variable you put the result in, let's sayfoo. You'd just dofoo[0][0]and you are done