Really weird. Code works fine on a local version of node (with an Azure database back-end).
However, When I switch to a Azure instance of node. It appears to add lines of what I would guess is debugging info.
For a SQL query or a stored procedure that returns one data set, it returns a line that appears to be related to the size of the data, then the expected JSON line, then a line with just the number 0.
For a stored procedure that returns multiple data sets,
for each data set {
it returns a line that appears to be related to the size of the data,
then the expected JSON line,
}
then a line with just the number 0.
Really weird. Code works fine on a local version of node (with an Azure database back-end).
However, When I switch to a Azure instance of node. It appears to add lines of what I would guess is debugging info.
For a SQL query or a stored procedure that returns one data set, it returns a line that appears to be related to the size of the data, then the expected JSON line, then a line with just the number 0.
For a stored procedure that returns multiple data sets,
for each data set {
it returns a line that appears to be related to the size of the data,
then the expected JSON line,
}
then a line with just the number 0.