So I have an Angular/Node mean stack app. but the question is certainly circling around javascript
my response object comes back with sql identity id
console.log(response.recordset[0]);
Above displays "":12
I am wanting to set 12
to my script.id
script.Id = response.recordset[0];
Obviously I do not want that other part, how do I not include it?
I try to push data which shows in grid column as {"":12}
vm.myData.push(script);
I have tried below and that is undefined
response.recordset[0].value;
via John Baxter
No comments:
Post a Comment